Part Number Hot Search : 
TL431AA XG036 MAX14830 1N5391G PT801 LT1000 W1A100K ITS716G
Product Description
Full Text Search
 

To Download TMS320F28044PZS Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  tms320f28044 digital signal processor data manual production data information is current as of publication date. products conform to specifications per the terms of the texas instruments standard warranty. production processing does not necessarily include testing of all parameters. literature number: sprs357c august 2006 ? revised january 2010
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com contents 1 f28044 digital signal processor ............................................................................................ 9 1.1 features ...................................................................................................................... 9 1.2 getting started ............................................................................................................. 10 2 introduction ...................................................................................................................... 11 2.1 pin assignments ........................................................................................................... 12 2.2 signal descriptions ........................................................................................................ 14 3 functional overview .......................................................................................................... 20 3.1 memory map ............................................................................................................... 21 3.2 brief descriptions .......................................................................................................... 23 3.2.1 c28x cpu ....................................................................................................... 23 3.2.2 memory bus (harvard bus architecture) .................................................................... 23 3.2.3 peripheral bus .................................................................................................. 23 3.2.4 real-time jtag and analysis ................................................................................ 24 3.2.5 flash ............................................................................................................. 24 3.2.6 m0, m1 sarams ............................................................................................... 24 3.2.7 l0, l1 sarams ................................................................................................. 24 3.2.8 boot rom ....................................................................................................... 25 3.2.9 security .......................................................................................................... 26 3.2.10 peripheral interrupt expansion (pie) block ................................................................. 27 3.2.11 external interrupts (xint1, xint2, xnmi) .................................................................. 27 3.2.12 oscillator and pll .............................................................................................. 27 3.2.13 watchdog ........................................................................................................ 27 3.2.14 peripheral clocking ............................................................................................. 27 3.2.15 low-power modes .............................................................................................. 27 3.2.16 peripheral frames 0, 1, 2 (pfn) .............................................................................. 28 3.2.17 general-purpose input/output (gpio) multiplexer ......................................................... 28 3.2.18 32-bit cpu-timers (0, 1, 2) ................................................................................... 28 3.2.19 control peripherals ............................................................................................. 28 3.2.20 serial port peripherals ......................................................................................... 29 3.3 register map ............................................................................................................... 29 3.4 device emulation registers .............................................................................................. 30 3.5 interrupts .................................................................................................................... 31 3.5.1 external interrupts .............................................................................................. 34 3.6 system control ............................................................................................................ 35 3.6.1 osc and pll block ............................................................................................ 37 3.6.1.1 external reference oscillator clock option .................................................... 38 3.6.1.2 pll-based clock module ......................................................................... 38 3.6.1.3 loss of input clock ................................................................................ 39 3.6.2 watchdog block ................................................................................................. 40 3.7 low-power modes block ................................................................................................. 41 4 peripherals ....................................................................................................................... 42 4.1 32-bit cpu-timers 0/1/2 ................................................................................................. 42 4.2 enhanced pwm modules (epwm1 ? 16) ................................................................................ 44 4.3 hi-resolution pwm (hrpwm) .......................................................................................... 49 4.4 enhanced analog-to-digital converter (adc) module ............................................................... 50 2 contents copyright ? 2006 ? 2010, texas instruments incorporated
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 4.4.1 adc connections if the adc is not used .................................................................. 53 4.5 serial communications interface (sci) module (sci-a) ............................................................. 55 4.6 serial peripheral interface (spi) module (spi-a) ..................................................................... 58 4.7 inter-integrated circuit (i2c) ............................................................................................. 61 4.8 gpio mux ................................................................................................................. 63 5 device support ................................................................................................................. 67 5.1 device and development support tool nomenclature ............................................................... 67 5.2 documentation support ................................................................................................... 69 6 electrical specifications ..................................................................................................... 73 6.1 absolute maximum ratings .............................................................................................. 73 6.2 recommended operating conditions .................................................................................. 74 6.3 electrical characteristics ................................................................................................. 74 6.4 current consumption ..................................................................................................... 75 6.4.1 reducing current consumption .............................................................................. 76 6.5 emulator connection without signal buffering for the dsp ......................................................... 77 6.6 timing parameter symbology ........................................................................................... 78 6.6.1 general notes on timing parameters ....................................................................... 78 6.6.2 test load circuit ................................................................................................ 79 6.6.3 device clock table ............................................................................................. 79 6.7 clock requirements and characteristics ............................................................................... 80 6.8 power sequencing ........................................................................................................ 81 6.8.1 power management and supervisory circuit solutions ................................................... 81 6.9 general-purpose input/output (gpio) ................................................................................. 84 6.9.1 gpio - output timing .......................................................................................... 84 6.9.2 gpio - input timing ............................................................................................ 85 6.9.2.1 sampling window width for input signals ...................................................... 86 6.9.2.2 low-power mode wakeup timing ............................................................... 87 6.10 enhanced control peripherals ........................................................................................... 91 6.10.1 enhanced pulse width modulator (epwm) timing ........................................................ 91 6.10.2 trip-zone input timing ......................................................................................... 91 6.10.3 external interrupt timing ...................................................................................... 92 6.10.4 i 2 c electrical specification and timing ...................................................................... 93 6.10.5 serial peripheral interface (spi) master mode timing .................................................... 93 6.10.6 spi slave mode timing ........................................................................................ 98 6.11 on-chip analog-to-digital converter .................................................................................. 100 6.11.1 adc power-up control bit timing .......................................................................... 101 6.11.2 definitions ...................................................................................................... 102 6.11.3 sequential sampling mode (single-channel) (smode = 0) ............................................ 103 6.11.4 simultaneous sampling mode (dual-channel) (smode = 1) .......................................... 104 6.12 detailed descriptions .................................................................................................... 105 6.13 flash timing .............................................................................................................. 106 7 revision history .............................................................................................................. 108 8 mechanical data .............................................................................................................. 110 copyright ? 2006 ? 2010, texas instruments incorporated contents 3
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com list of figures 2-1 100-pin pz lqfp (top view) .................................................................................................. 13 2-2 100-ball ggm and zgm microstar bga ? (bottom view) ................................................................. 13 3-1 functional block diagram ....................................................................................................... 21 3-2 f28044 memory map ............................................................................................................ 21 3-3 external and pie interrupt sources ............................................................................................ 32 3-4 multiplexing of interrupts using the pie block ............................................................................... 32 3-5 clock and reset domains ...................................................................................................... 35 3-6 osc and pll block diagram ................................................................................................... 37 3-7 using a 3.3-v external oscillator ............................................................................................... 37 3-8 using a 1.8-v external oscillator ............................................................................................... 37 3-9 using the internal oscillator .................................................................................................... 38 3-10 watchdog module ................................................................................................................ 40 4-1 cpu-timers ....................................................................................................................... 42 4-2 cpu-timer interrupt signals and output signal ............................................................................. 43 4-3 multiple pwm modules .......................................................................................................... 44 4-4 epwm sub-modules showing critical internal signal interconnections .................................................. 49 4-5 block diagram of the adc module ............................................................................................ 51 4-6 adc pin connections with internal reference .............................................................................. 52 4-7 adc pin connections with external reference ............................................................................. 53 4-8 serial communications interface (sci) module block diagram ............................................................ 57 4-9 spi module block diagram (slave mode) .................................................................................... 60 4-10 i2c peripheral module interfaces .............................................................................................. 62 4-11 gpio mux block diagram ...................................................................................................... 63 4-12 qualification using sampling window ......................................................................................... 66 5-1 example of tms320x280x device nomenclature ........................................................................... 68 6-1 emulator connection without signal buffering for the dsp ................................................................ 77 6-2 3.3-v test load circuit .......................................................................................................... 79 6-3 clock timing ...................................................................................................................... 81 6-4 power-on reset .................................................................................................................. 82 6-5 warm reset ....................................................................................................................... 83 6-6 example of effect of writing into pllcr register ........................................................................... 84 6-7 general-purpose output timing ............................................................................................... 85 6-8 sampling mode ................................................................................................................... 85 6-9 general-purpose input timing .................................................................................................. 86 6-10 idle entry and exit timing ..................................................................................................... 87 6-11 standby entry and exit timing diagram ................................................................................... 89 6-12 halt wake-up using gpion .................................................................................................. 90 6-13 pwm hi-z characteristics ....................................................................................................... 91 6-14 adcsocao or adcsocbo timing .......................................................................................... 92 6-15 external interrupt timing ........................................................................................................ 92 6-16 spi master mode external timing (clock phase = 0) ....................................................................... 95 6-17 spi master external timing (clock phase = 1) .............................................................................. 97 6-18 spi slave mode external timing (clock phase = 0) ........................................................................ 99 6-19 spi slave mode external timing (clock phase = 1) ........................................................................ 99 6-20 adc power-up control bit timing ........................................................................................... 101 6-21 adc analog input impedance model ........................................................................................ 102 4 list of figures copyright ? 2006 ? 2010, texas instruments incorporated
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6-22 sequential sampling mode (single-channel) timing ...................................................................... 103 6-23 simultaneous sampling mode timing ....................................................................................... 104 copyright ? 2006 ? 2010, texas instruments incorporated list of figures 5
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com list of tables 2-1 hardware features ............................................................................................................... 11 2-2 signal descriptions ............................................................................................................... 14 3-1 addresses of flash sectors ..................................................................................................... 22 3-2 wait-states ........................................................................................................................ 22 3-3 boot mode selection ............................................................................................................. 25 3-4 peripheral frame 0 registers .................................................................................................. 29 3-5 peripheral frame 1 registers .................................................................................................. 30 3-6 peripheral frame 2 registers .................................................................................................. 30 3-7 device emulation registers ..................................................................................................... 30 3-8 pie peripheral interrupts ....................................................................................................... 32 3-9 pie configuration and control registers ...................................................................................... 33 3-10 external interrupt registers ..................................................................................................... 34 3-11 pll, clocking, watchdog, and low-power mode registers .............................................................. 36 3-12 pllcr register bit definitions ................................................................................................. 38 3-13 possible pll configuration modes ............................................................................................ 39 3-14 low-power modes ............................................................................................................... 41 4-1 cpu-timers 0, 1, 2 configuration and control registers ................................................................... 43 4-2 epwm1 ? 4 control and status registers ...................................................................................... 45 4-3 epwm5 ? 8 control and status registers ...................................................................................... 46 4-4 epwm9 ? 12 control and status registers .................................................................................... 47 4-5 epwm13 ? 16 control and status registers ................................................................................... 48 4-6 adc registers ................................................................................................................... 54 4-7 sci-a registers .................................................................................................................. 56 4-8 spi-a registers ................................................................................................................... 59 4-9 i2c-a registers ................................................................................................................... 62 4-10 gpio registers .................................................................................................................. 64 4-11 f28044 gpio mux table ....................................................................................................... 65 5-1 tms320f28044 peripheral selection guide ................................................................................. 69 6-1 tms320f28044 current consumption by power-supply pins at 100-mhz sysclkout ............................. 75 6-2 typical current consumption by various peripherals (at 100 mhz) ..................................................... 76 6-3 tms320x280x clock table and nomenclature .............................................................................. 79 6-4 input clock frequency ........................................................................................................... 80 6-5 xclkin timing requirements - pll enabled ............................................................................... 80 6-6 xclkin timing requirements - pll disabled .............................................................................. 80 6-7 xclkout switching characteristics (pll bypassed or enabled) ....................................................... 80 6-8 power management and supervisory circuit solutions ..................................................................... 81 6-9 reset ( xrs) timing requirements ........................................................................................... 83 6-10 general-purpose output switching characteristics ......................................................................... 84 6-11 general-purpose input timing requirements ................................................................................ 85 6-12 idle mode timing requirements ............................................................................................. 87 6-13 idle mode switching characteristics ........................................................................................ 87 6-14 standby mode timing requirements ...................................................................................... 88 6-15 standby mode switching characteristics .................................................................................. 88 6-16 halt mode timing requirements ............................................................................................ 89 6-17 halt mode switching characteristics ........................................................................................ 89 6-18 epwm timing requirements .................................................................................................. 91 6 list of tables copyright ? 2006 ? 2010, texas instruments incorporated
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6-19 epwm switching characteristics .............................................................................................. 91 6-20 trip-zone input timing requirements ........................................................................................ 91 6-21 high resolution pwm characteristics at sysclkout = (60 - 100 mhz) ............................................... 92 6-22 external adc start-of-conversion switching characteristics .............................................................. 92 6-23 external interrupt timing requirements ...................................................................................... 92 6-24 external interrupt switching characteristics ................................................................................. 92 6-25 i 2 c timing ........................................................................................................................ 93 6-26 spi master mode external timing (clock phase = 0) ...................................................................... 94 6-27 spi master mode external timing (clock phase = 1) ...................................................................... 96 6-28 spi slave mode external timing (clock phase = 0) ....................................................................... 98 6-29 spi slave mode external timing (clock phase = 1) ....................................................................... 99 6-30 adc electrical characteristics (over recommended operating conditions) ............................................ 100 6-31 adc power-up delays ......................................................................................................... 101 6-32 current consumption for different adc configurations (at 25-mhz adcclk) ....................................... 101 6-33 sequential sampling mode timing ........................................................................................... 103 6-34 simultaneous sampling mode timing ....................................................................................... 104 6-35 flash endurance for a temperature material ............................................................................... 106 6-36 flash parameters at 100-mhz sysclkout ............................................................................... 106 6-37 flash/otp access timing .................................................................................................... 106 6-38 minimum required flash/otp wait-states at different frequencies ................................................... 107 8-1 f28044 thermal model 100-pin ggm results ............................................................................. 110 8-2 f28044 thermal model 100-pin pz results ................................................................................ 110 copyright ? 2006 ? 2010, texas instruments incorporated list of tables 7
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 8 list of tables copyright ? 2006 ? 2010, texas instruments incorporated
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 digital signal processor check for samples: tms320f28044 1 f28044 digital signal processor 1.1 features 1234 ? high-performance 100-mhz (10-ns cycle time) ? communications port peripherals processor ? serial peripheral interface (spi) module ? tms320c28x ? 32-bit cpu ? serial communications interface (sci) ? single-cycle 16 16 and 32 32 ? inter-integrated circuit (i2c) bus multiply-accumulate (mac) operations ? timers ? dual 16 16 mac ? three 32-bit cpu timers ? fast interrupt response ? up to 16 16-bit timers ? unified memory programming model ? watchdog timer module ? on-chip memory ? up to 35 general-purpose input/output (gpio) ? 64k 16 flash pins with input filtering ? 10k 16 saram ? on-chip jtag emulation with real-time debug ? 1k 16 otp via hardware ? 4k 16 boot rom ? jtag boundary scan support ? code security module protects against ? low-power idle, standby, and halt modes unauthorized memory access ? development tools ? clocking ? f28044 ezdsp starter kit ? dynamic pll ratio changes supported ? code composer studio ? ide with flash ? on-chip oscillator programming plug-in ? clock-fail-detect mode ? c28x-optimized ansi c/c++ compiler/assembler/linker ? interrupts ? dsp/bios ? real-time operating system ? support for up to three external core interrupts ? usb-based jtag emulators (1) ? peripheral interrupt expansion (pie) block ? available software that supports all peripheral interrupts ? c2000 ? digital power supply software ? high-speed, 12-bit adc library ? 80 ns (12.5 msps) conversion rate ? c28x ? iq math library ? 16 channels ? c28x header files with example programs for all peripherals ? two sample-and-hold ? c28x dsp library ? single/simultaneous conversions ? c28x digital motor control software library ? internal or external reference ? package options ? high-resolution pwm ? 100-pin thin quad flatpack (pz) ? 16 outputs with 150 ps resolution ? 100-pin microstar bga ? (ggm, zgm) ? 14.8 bits at 200-khz switching ? rohs-compliant, green packaging ? 13.4 bits at 500-khz switching ? temperature range: ? 12.4 bits at 1-mhz switching a: ? 40 c to 85 c (pz, ggm, zgm) (1) ieee standard 1149.1-1990 standard test access port and boundary scan architecture 1 please be aware that an important notice concerning availability, standard warranty, and use in critical applications of texas instruments semiconductor products and disclaimers thereto appears at the end of this data sheet. 2 tms320c28x, code composer studio, dsp/bios, c2000, c28x, microstar bga, tms320 are trademarks of texas instruments. 3 ezdsp, xds510usb are trademarks of spectrum digital. 4 all other trademarks are the property of their respective owners. production data information is current as of publication date. copyright ? 2006 ? 2010, texas instruments incorporated products conform to specifications per the terms of the texas instruments standard warranty. production processing does not necessarily include testing of all parameters.
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 1.2 getting started this section gives a brief overview of the steps to take when first developing for a c28x device. for more detail on each of these steps, see the following: ? getting started with tms320c28x digital signal controllers (literature number spraam0 ). ? c2000 getting started website (http://www.ti.com/c2000getstarted) step 1. acquire the appropriate development tools the quickest way to begin working with a c28x device is to acquire an ezdsp ? kit for initial development, which, in one package, includes: ? on-board jtag emulation via usb or parallel port ? appropriate emulation driver ? code composer studio ? ide for ezdsp once you have become familiar with the device and begin developing on your own hardware, purchase code composer studio ? ide separately for software development and a jtag emulation tool to get started on your project. step 2. download starter software to simplify programming for c28x devices, it is recommended that users download and use the c/c++ header files and example(s) to begin developing software for the c28x devices and their various peripherals. after downloading the appropriate header file package for your device, refer to the following resources for step-by-step instructions on how to run the peripheral examples and use the header file structure for your own software ? the quick start readme in the /doc directory to run your first application. ? programming tms320x28xx and 28xxx peripherals in c/c++ application report (literature number spraa85 ) step 3. download flash programming software many c28x devices include on-chip flash memory and tools that allow you to program the flash with your software ip. ? flash tools: c28x flash tools ? tms320f281x ? flash programming solutions (literature number sprb169 ) ? running an application from internal flash memory on the tms320f28xxx dsp (literature number spra958 ) step 4. move on to more advanced topics for more application software and other advanced topics, visit the ti website at http://www.ti.com or http://www.ti.com/c2000getstarted . 10 f28044 digital signal processor copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 2 introduction the tms320f28044 device, member of the tms320c28x ? dsp generation, is a highly integrated, high-performance solution for demanding control applications. throughout this document, tms320f28044 is abbreviated as f28044. table 2-1 provides a summary of the device's features. table 2-1. hardware features feature type (1) f28044 instruction cycle (at 100 mhz) ? 10 ns 10k single-access ram (saram) (16-bit word) ? (l0, l1, m0, m1) 3.3-v on-chip flash (16-bit word) ? 64k on-chip rom (16-bit word) ? ? code security for on-chip flash/saram/otp blocks ? yes boot rom (4k 16) ? yes one-time programmable (otp) rom (16-bit word) ? 1k pwm outputs (one 16-bit timer/module) 0 epwm1 ? 16 hrpwm channels 0 epwm1 ? 16 watchdog timer ? yes no. of channels 1 16 12-bit adc msps 1 12.5 conversion time 1 80 ns 32-bit cpu timers ? 3 serial peripheral interface (spi) 0 spi-a serial communications interface (sci) 0 sci-a inter-integrated circuit (i 2 c) 0 i 2 c-a digital i/o pins (shared) ? 35 external interrupts ? 3 supply voltage 1.8-v core, 3.3-v i/o ? yes 100-pin pz ? yes packaging 100-ball ggm, zgm ? yes temperature options a: ? 40 c to 85 c ? (pz, ggm, zgm) product status (2) ? tms (1) a type change represents a major functional feature difference in a peripheral module. within a peripheral type, there may be minor differences between devices that do not affect the basic functionality of the module. these device-specific differences are listed in the tms320x28xx, 28xxx dsp peripheral reference guide (literature number spru566 ) and in the peripheral reference guides. (2) see section 5.1 , device and development support tool nomenclature, for descriptions of device stages. copyright ? 2006 ? 2010, texas instruments incorporated introduction 11 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 2.1 pin assignments the tms320f28044 100-pin pz low-profile quad flatpack (lqfp) pin assignments are shown in figure 2-1 . the 100-ball ggm and zgm ball grid array (bga) terminal assignments are shown in figure 2-2 . table 2-2 describes the function(s) of each pin. figure 2-1. 100-pin pz lqfp (top view) 12 introduction copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1 2 3 4 5 6 7 8 9 gpio0/epwm1a xrs trst gpio16/spisimoa/tz5 v dd2a18 v ss2agnd v ddaio gpio32/sdaa/epwmsynci/adcsocao gpio13/ /epwm14a tz2 v dd3vfl v ss v ss v dd v ddio v ss v ss v ss v ss v dd v dd v ddio gpio26 test2 test1 gpio25 xclkin x1 x2 emu1 emu0 gpio24 gpio27 tdo tcktms gpio22 gpio21 gpio20 gpio7/epwm8a gpio4/epwm5a gpio5/epwm6a gpio9/epwm10a gpio8/epwm9a/adcsocao gpio19/spistea/tz2 gpio30/tz3 gpio31/tz4 gpio33/epwmsynco/adcsocbo gpio29/scitxda/tz6 gpio12/tz1/epwm13a gpio14/tz3/epwm15a gpio15/tz4/epwm16a gpio18/spiclka/tz1 gpio17/spisomia/tz6 xclkout adcina7 adcina6 adcina5 adcina4 adcina3 adcina2 adcina1 adcina0 adclo v dd1a18 v ss1agnd v ss v ssa2 v ssaio v dda2 v dd v ddio v ss v ss v ddio v dd v dd v ss v ss gpio11/epwm12a gpio6/epwm7a/epwmsynci/epwmsynco gpio23 tdi 75 51 52 53 54 55 56 57 58 59 60 10 11 20 21 22 23 24 25 19 18 17 16 15 14 13 12 61 62 63 64 65 66 67 68 69 70 71 72 73 74 adcinb0 adcinb1 adcinb2 adcinb3 adcinb4 adcinb5 adcinb6 adcinb7 adcrefin adcrefm adcrefp adcresext gpio34 gpio1/epwm2a gpio2/epwm3a gpio3/epwm4a gpio10/epwm11a/adcsocbo gpio28/scirxda/tz5
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 figure 2-2. 100-ball ggm and zgm microstar bga ? (bottom view) copyright ? 2006 ? 2010, texas instruments incorporated introduction 13 submit documentation feedback product folder link(s): tms320f28044 4 cb a d e 2 1 3 kf g h j 5 7 6 9 8 10 bottom view tdi v dd3vfl x2 gpio23 gpio24 gpio25 gpio27 gpio29 tdo tms emu1 test2 xclkin xrs gpio12 gpio13 xclkout x1 gpio10 gpio21 v dd1a18 v ss1agnd gpio11 gpio14 gpio22 gpio28 gpio30 trst tck emu0 test1 gpio26 gpio9 gpio8 gpio20 v dda2 adcina7 adcina6 adcresext gpio6 gpio7 gpio19 gpio34 v dd v dd v dd v dd v dd v dd adcina5 adcina3 adcina2 adcrefp gpio0 gpio1 gpio16 v ss2agnd v ss v ss v ss v ss v ss v ss v ss v ss v ss v ss v ss adcinb7 adcinb0 adcinb3 adcinb5 gpio2 gpio3 gpio4 gpio17 v ddaio v dd2a18 adcinb1 adcrefin adcinb4 gpio5 gpio18 v ddio v ddio v ddio v ddio adcinb2 gpio33 gpio15 gpio31 gpio32 v ssa2 adcina4 v ssaio adclo adcina1 adcina0 adcrefm adcinb6
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 2.2 signal descriptions table 2-2 describes the signals on the f28044 device. all digital inputs are ttl-compatible. all outputs are 3.3 v with cmos levels. inputs are not 5-v tolerant. table 2-2. signal descriptions pin no. ggm/ name description (1) pz zgm pin # ball # jtag jtag test reset with internal pulldown. trst, when driven high, gives the scan system control of the operations of the device. if this signal is not connected or driven low, the device operates in its functional mode, and the test reset signals are ignored. note: do not use pullup resistors on trst; it has an internal pull-down device. trst is an active trst 84 a6 high test pin and must be maintained low at all times during normal device operation. an external pulldown resistor is required on this pin. the value of this resistor should be based on drive strength of the debugger pods applicable to the design. a 2.2-k ? resistor generally offers adequate protection. since this is application-specific, it is recommended that each target board be validated for proper operation of the debugger and the application. (i, ) tck 75 a10 jtag test clock with internal pullup (i, ) jtag test-mode select (tms) with internal pullup. this serial control input is clocked into the tap tms 74 b10 controller on the rising edge of tck. (i, ) jtag test data input (tdi) with internal pullup. tdi is clocked into the selected register (instruction tdi 73 c9 or data) on a rising edge of tck. (i, ) jtag scan out, test data output (tdo). the contents of the selected register (instruction or data) tdo 76 b9 are shifted out of tdo on the falling edge of tck. (o/z 8 ma drive) emulator pin 0. when trst is driven high, this pin is used as an interrupt to or from the emulator system and is defined as input/output through the jtag scan. this pin is also used to put the device into boundary-scan mode. with the emu0 pin at a logic-high state and the emu1 pin at a logic-low state, a rising edge on the trst pin would latch the device into boundary-scan mode. emu0 80 a8 (i/o/z, 8 ma drive ) note: an external pullup resistor is recommended on this pin. the value of this resistor should be based on the drive strength of the debugger pods applicable to the design. a 2.2-k ? to 4.7-k ? resistor is generally adequate. since this is application-specific, it is recommended that each target board be validated for proper operation of the debugger and the application. emulator pin 1. when trst is driven high, this pin is used as an interrupt to or from the emulator system and is defined as input/output through the jtag scan. this pin is also used to put the device into boundary-scan mode. with the emu0 pin at a logic-high state and the emu1 pin at a logic-low state, a rising edge on the trst pin would latch the device into boundary-scan mode. emu1 81 b7 (i/o/z, 8 ma drive ) note: an external pullup resistor is recommended on this pin. the value of this resistor should be based on the drive strength of the debugger pods applicable to the design. a 2.2-k ? to 4.7-k ? resistor is generally adequate. since this is application-specific, it is recommended that each target board be validated for proper operation of the debugger and the application. flash 3.3-v flash core power pin. this pin should be connected to 3.3 v at all times. on the rom v dd3vfl 96 c4 parts (c280x), this pin should be connected to v ddio . test1 97 a3 test pin. reserved for ti. must be left unconnected. (i/o) test2 98 b3 test pin. reserved for ti. must be left unconnected. (i/o) clock output clock derived from sysclkout. xclkout is either the same frequency, one-half the frequency, or one-fourth the frequency of sysclkout. this is controlled by the bits 1, 0 xclkout 66 e8 (xclkoutdiv) in the xclk register. at reset, xclkout = sysclkout/4. the xclkout signal can be turned off by setting xclkoutdiv to 3. unlike other gpio pins, the xclkout pin is not placed in high-impedance state during a reset. (o/z, 8 ma drive). external oscillator input. this pin is to feed a clock from an external 3.3-v oscillator. in this case, xclkin 90 b5 the x1 pin must be tied to gnd. if a crystal/resonator is used (or if an external 1.8-v oscillator is used to feed clock to x1 pin), this pin must be tied to gnd. (i) (1) i = input, o = output, z = high impedance, od = open drain, = pullup, = pulldown 14 introduction copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 2-2. signal descriptions (continued) pin no. ggm/ name description (1) pz zgm pin # ball # internal/external oscillator input. to use the internal oscillator, a quartz crystal or a ceramic resonator may be connected across x1 and x2. the x1 pin is referenced to the 1.8-v core digital x1 88 e6 power supply. a 1.8-v external oscillator may be connected to the x1 pin. in this case, the xclkin pin must be connected to ground. if a 3.3-v external oscillator is used with the xclkin pin, x1 must be tied to gnd. (i) internal oscillator output. a quartz crystal or a ceramic resonator may be connected across x1 and x2 86 c6 x2. if x2 is not used it must be left unconnected. (o) reset device reset (in) and watchdog reset (out). device reset. xrs causes the device to terminate execution. the pc will point to the address contained at the location 0x3fffc0. when xrs is brought to a high level, execution begins at the location pointed to by the pc. this pin is driven low by the dsp when a watchdog reset occurs. xrs 78 b8 during watchdog reset, the xrs pin is driven low for the watchdog reset duration of 512 oscclk cycles. (i/od, ) the output buffer of this pin is an open-drain with an internal pullup. it is recommended that this pin be driven by an open-drain device. adc signals adcina7 16 f3 adc group a, channel 7 input (i) adcina6 17 f4 adc group a, channel 6 input (i) adcina5 18 g4 adc group a, channel 5 input (i) adcina4 19 g1 adc group a, channel 4 input (i) adcina3 20 g2 adc group a, channel 3 input (i) adcina2 21 g3 adc group a, channel 2 input (i) adcina1 22 h1 adc group a, channel 1 input (i) adcina0 23 h2 adc group a, channel 0 input (i) adcinb7 34 k5 adc group b, channel 7 input (i) adcinb6 33 h4 adc group b, channel 6 input (i) adcinb5 32 k4 adc group b, channel 5 input (i) adcinb4 31 j4 adc group b, channel 4 input (i) adcinb3 30 k3 adc group b, channel 3 input (i) adcinb2 29 h3 adc group b, channel 2 input (i) adcinb1 28 j3 adc group b, channel 1 input (i) adcinb0 27 k2 adc group b, channel 0 input (i) adclo 24 j1 low reference (connect to analog ground) (i) adcresext 38 f5 adc external current bias resistor. connect a 22-k ? resistor to analog ground. adcrefin 35 j5 external reference input (i) internal reference positive output. requires a low esr (50 m ? ? 1.5 ? ) ceramic bypass capacitor adcrefp 37 g5 of 2.2 m f to analog ground. (o) internal reference medium output. requires a low esr (50 m ? ? 1.5 ? ) ceramic bypass capacitor adcrefm 36 h5 of 2.2 m f to analog ground. (o) cpu and i/o power pins v dda2 15 f2 adc analog power pin (3.3 v) v ssa2 14 f1 adc analog ground pin v ddaio 26 j2 adc analog i/o power pin (3.3 v) v ssaio 25 k1 adc analog i/o ground pin v dd1a18 12 e4 adc analog power pin (1.8 v) v ss1agnd 13 e5 adc analog ground pin v dd2a18 40 j6 adc analog power pin (1.8 v) v ss2agnd 39 k6 adc analog ground pin copyright ? 2006 ? 2010, texas instruments incorporated introduction 15 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 2-2. signal descriptions (continued) pin no. ggm/ name description (1) pz zgm pin # ball # v dd 10 e2 v dd 42 g6 v dd 59 f10 cpu and logic digital power pins (1.8 v) v dd 68 d7 v dd 85 b6 v dd 93 d4 v ddio 3 c2 v ddio 46 h7 digital i/o power pin (3.3 v) v ddio 65 e9 v ddio 82 a7 v ss 2 b1 v ss 11 e3 v ss 41 h6 v ss 49 k9 v ss 55 h10 v ss 62 f7 digital ground pins v ss 69 d10 v ss 77 a9 v ss 87 d6 v ss 89 a5 v ss 94 a4 gpioa and peripheral signals (2) gpio0 general purpose input/output 0 (i/o/z) (3) epwm1a enhanced pwm1 output and hrpwm channel (o) 47 k8 - - - - gpio1 general purpose input/output 1 (i/o/z) (3) epwm2a enhanced pwm2 output a and hrpwm channel (o) 44 k7 - - - - gpio2 general purpose input/output 2 (i/o/z) (3) epwm3a enhanced pwm3 output a and hrpwm channel (o) 45 j7 - - - - gpio3 general purpose input/output 3 (i/o/z) (3) epwm4a enhanced pwm4 output a and hrpwm channel (o) 48 j8 - - - - gpio4 general purpose input/output 4 (i/o/z) (3) epwm5a enhanced pwm5 output a and hrpwm channel (o) 51 j9 - - - - gpio5 general purpose input/output 5 (i/o/z) (3) epwm6a enhanced pwm6 output a and hrpwm channel (o) 53 h9 - - - - (2) all gpio pins are i/o/z, 4-ma drive typical (unless otherwise indicated), and have an internal pullup, which can be selectively enabled/disabled on a per-pin basis. this feature only applies to the gpio pins. the gpio function (shown in italics) is the default at reset. the peripheral signals that are listed under them are alternate functions. (3) the pullups on gpio0 ? gpio15 pins are not enabled at reset. 16 introduction copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 2-2. signal descriptions (continued) pin no. ggm/ name description (1) pz zgm pin # ball # gpio6 general purpose input/output 6 (i/o/z) (3) epwm7a enhanced pwm7 output a and hrpwm channel (o) 56 g9 epwmsynci external epwm sync pulse input (i) epwmsynco external epwm sync pulse output (o) gpio7 general purpose input/output 7 (i/o/z) (3) epwm8a 58 g8 enhanced pwm8 output a and hrpwm channel (o) - - gpio8 general purpose input/output 8 (i/o/z) (3) epwm9a enhanced pwm9 output a(o) 60 f9 - - adcsocao adc start-of-conversion a (o) gpio9 general purpose input/output 9 (i/o/z) (3) epwm10a 61 f8 enhanced pwm10 output a and hrpwm channel (o) - - gpio10 general purpose input/output 10 (i/o/z) (3) epwm11a enhanced pwm11 output a and hrpwm channel (o) 64 e10 - - adcsocbo adc start-of-conversion b (o) gpio11 general purpose input/output 11 (i/o/z) (3) epwm12a 70 d9 enhanced pwm12 output a and hrpwm channel (o) - - gpio12 general purpose input/output 12 (i/o/z) (4) tz1 trip zone input 1 (i) 1 b2 epwm13a enhanced pwm13 output a and hrpwm channel (o) - - gpio13 general purpose input/output 13 (i/o/z) (4) tz2 trip zone input 2 (i) 95 b4 epwm14a enhanced pwm14 output a and hrpwm channel (o) - - gpio14 general purpose input/output 14 (i/o/z) (4) tz3 trip zone input 3 (i) 8 d3 epwm15a enhanced pwm15 output a and hrpwm channel (o) - - gpio15 general purpose input/output 15 (i/o/z) (4) tz4 trip zone input 4 (i) 9 e1 epwm16a enhanced pwm16 output a and hrpwm channel (o) - - gpio16 general purpose input/output 16 (i/o/z) (4) spisimoa spi-a slave in, master out (i/o) 50 k10 - - tz5 trip zone input 5 (i) gpio17 general purpose input/output 17 (i/o/z) (4) spisomia spi-a slave out, master in (i/o) 52 j10 - - tz6 trip zone input 6(i) gpio18 general purpose input/output 18 (i/o/z) (4) spiclka spi-a clock input/output (i/o) 54 h8 - - tz1 trip zone input 1 (i) gpio19 general purpose input/output 19 (i/o/z) (4) spistea spi-a slave transmit enable input/output (i/o) 57 g10 - - tz2 trip zone input 2 (i) gpio20 general purpose input/output 20 (i/o/z) (4) - - 63 f6 - - - - (4) the pullups on gpio16 ? gpio34 are enabled upon reset. copyright ? 2006 ? 2010, texas instruments incorporated introduction 17 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 2-2. signal descriptions (continued) pin no. ggm/ name description (1) pz zgm pin # ball # gpio21 general purpose input/output 21 (i/o/z) (4) - - 67 e7 - - - - gpio22 general purpose input/output 22 (i/o/z) (4) - - 71 d8 - - - - gpio23 general purpose input/output 23 (i/o/z) (4) - - 72 c10 - - - - gpio24 general purpose input/output 24 (i/o/z) (4) - - 83 c7 - - - - gpio25 general purpose input/output 25 (i/o/z) (4) - - 91 c5 - - - - gpio26 general purpose input/output 26 (i/o/z) (4) - - 99 a2 - - - - gpio27 general purpose input/output 27 (i/o/z) (4) - - 79 c8 - - - - gpio28 general purpose input/output 28. this pin has an 8-ma (typical) output buffer. (i/o/z) (4) scirxda sci receive data (i) 92 d5 - - tz5 trip zone 5 (i) gpio29 general purpose input/output 29. this pin has an 8-ma (typical) output buffer. (i/o/z) (4) scitxda sci transmit data (o) 4 c3 - - tz6 trip zone 6 (i) gpio30 general purpose input/output 30. this pin has an 8-ma (typical) output buffer. (i/o/z) (4) - - 6 d2 - - tz3 trip zone input 3 (i) gpio31 general purpose input/output 31. this pin has an 8-ma (typical) output buffer. (i/o/z) (4) - - 7 d1 - - tz4 trip zone input 4 (i) gpio32 general purpose input/output 32 (i/o/z) (4) sdaa i2c data open-drain bidirectional port (i/od) 100 a1 epwmsynci enhanced pwm external sync pulse input (i) adcsocao adc start-of-conversion (o) 18 introduction copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 2-2. signal descriptions (continued) pin no. ggm/ name description (1) pz zgm pin # ball # gpio33 general-purpose input/output 33 (i/o/z) (1) scla i2c clock open-drain bidirectional port (i/od) 5 c1 epwmsynco enhanced pwm external synch pulse output (o) adcsocbo adc start-of-conversion (o) gpio34 general-purpose input/output 34 (i/o/z) (1) - - 43 g7 - - - - (1) the pullups on gpio16 ? gpio34 are enabled upon reset. copyright ? 2006 ? 2010, texas instruments incorporated introduction 19 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 3 functional overview a. 43 of the possible 96 interrupts are used on the devices. figure 3-1. functional block diagram 20 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 int[12:1] real-time jtag (tdi, tdo, trst , tck, tms, emu0, emu1) c28x cpu (100 mhz) nmi , int13 memory bus int14 sysclkout rs clkin 12-bit adc adcsoca/b soca/b 16 channels 32 xclkout xrs xclkin x1 x2 32 system control (oscillator, pll, peripheral clocking, low-power modes, watchdog) epwm1 to epwm16 (16 pwm outputs, 6 trip zones, 6 timers, 16-bit) external interrupt control pie (96 interrupts) (a) gpio mux gpios (35) tint0 tint1 tint2 4 16 2 16 7 peripheral bus m0 saram 1k x 16 m1 saram 1k x 16 boot rom 4k x 16 (1-wait state) l0 saram 4k x 16 (0-wait) l1 saram 4k x 16 (0-wait) flash 64k x 16 otp 1k x 16 protected by the code-security module. 32-bit cpu timer 0 32-bit cpu timer 1 32-bit cpu timer 2 fifo sci-a fifo i c-a 2 fifo spi-a
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 3.1 memory map a. memory blocks are not to scale. b. peripheral frame 0, peripheral frame 1, and peripheral frame 2 memory maps are restricted to data memory only. user program cannot access these memory maps in program space. c. ? protected ? means the order of write followed by read operations is preserved rather than the pipeline order. d. certain memory ranges are eallow protected against spurious writes after configuration. figure 3-2. f28044 memory map copyright ? 2006 ? 2010, texas instruments incorporated functional overview 21 submit documentation feedback product folder link(s): tms320f28044 0x00 00000x00 0040 block start address data space 0x00 04000x00 0800 0x00 0d00 0x00 60000x00 7000 0x00 8000 0x00 9000 0x00 a000 0x3d 7800 0x3d 7c00 0x3f 7ff80x3f 8000 0x3f 9000 0x3f a000 0x3f f000 0x3f ffc0 otp (1k x 16, secure zone) boot rom (4k x 16) m1 saram (1k x 16) m0 vector - ram (32 x 32) (enabled if vmap = 0) m0 saram (1k x 16) flash (64k x 16, secure zone) 128-bit password l0 saram (0-wait) (4k x 16, secure zone, dual mapped) l1 saram (0-wait) (4k x 16, secure zone, dual mapped) 0x3e 8000 prog space peripheral frame 0 low 64k (0000 - ffff) (24x/240x-equivalent data space) high 64k (3f0000 - 3fffff) (24x/240x-equivalent program space) peripheral frame 1 (protected) peripheral frame 2 (protected) pie vector - ram (256 x 16) (enabled if enpie = 1) vectors (32 x 32) (enabled if vmap = 1, enpie = 0) 0x00 0e00 l0 saram (0-wait) (4k x 16, secure zone, dual mapped) l1 saram (0-wait) (4k x 16, secure zone, dual mapped) reservedreserved reservedreserved reserved reserved
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 3-1. addresses of flash sectors address range program and data space 0x3e 8000 ? 0x3e bfff sector d (16k x 16) 0x3e c000 ? 0x3e ffff sector c (16k x 16) 0x3f 0000 ? 0x3f 3fff sector b (16k x 16) 0x3f 4000 ? 0x3f 7f7f sector a (16k x 16) program to 0x0000 when using the 0x3f 7f80 ? 0x3f 7ff5 code security module boot-to-flash entry point 0x3f 7ff6 ? 0x3f 7ff7 (program branch instruction here) security password (128-bit) 0x3f 7ff8 ? 0x3f 7fff (do not program to all zeros) peripheral frame 1 and peripheral frame 2 are grouped together so as to enable these blocks to be write/read peripheral block protected. the protected mode ensures that all accesses to these blocks happen as written. because of the c28x pipeline, a write immediately followed by a read, to different memory locations, will appear in reverse order on the memory bus of the cpu. this can cause problems in certain peripheral applications where the user expected the write to occur first (as written). the c28x cpu supports a block protection mode where a region of memory can be protected so as to make sure that operations occur as written (the penalty is extra cycles are added to align the operations). this mode is programmable and by default, it will protect the selected zones. the wait-states for the various spaces in the memory map area are listed in table 3-2 . table 3-2. wait-states area wait-states comments m0 and m1 sarams 0-wait fixed peripheral frame 0 0-wait fixed 0-wait (writes) fixed. consecutive (back-to-back) writes to peripheral frame 1 registers will peripheral frame 1 2-wait (reads) experience a 1-cycle pipeline hit (1-cycle delay). 0-wait (writes) peripheral frame 2 fixed 2-wait (reads) l0 and l1 sarams 0-wait programmable, programmed via the flash registers. 1-wait-state operation is possible at a otp 1-wait minimum reduced cpu frequency. see section 3.2.5 for more information. programmed via the flash registers. 0-wait-state operation is possible at programmable, flash reduced cpu frequency. the csm password locations are hardwired for 16 0-wait minimum wait-states. see section 3.2.5 for more information. boot-rom 1-wait fixed 22 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 3.2 brief descriptions 3.2.1 c28x cpu the c28x ? dsp generation is the newest member of the tms320c2000 ? dsp platform. the c28x is a very efficient c/c++ engine, hence enabling users to develop not only their system control software in a high-level language, but also enables math algorithms to be developed using c/c++. the c28x is as efficient in dsp math tasks as it is in system control tasks that typically are handled by microcontroller devices. this efficiency removes the need for a second processor in many systems. the 32 x 32-bit mac capabilities of the c28x and its 64-bit processing capabilities, enable the c28x to efficiently handle higher numerical resolution problems that would otherwise demand a more expensive floating-point processor solution. add to this the fast interrupt response with automatic context save of critical registers, resulting in a device that is capable of servicing many asynchronous events with minimal latency. the c28x has an 8-level-deep protected pipeline with pipelined memory accesses. this pipelining enables the c28x to execute at high speeds without resorting to expensive high-speed memories. special branch-look-ahead hardware minimizes the latency for conditional discontinuities. special store conditional operations further improve performance. 3.2.2 memory bus (harvard bus architecture) as with many dsp type devices, multiple busses are used to move data between the memories and peripherals and the cpu. the c28x memory bus architecture contains a program read bus, data read bus and data write bus. the program read bus consists of 22 address lines and 32 data lines. the data read and write busses consist of 32 address lines and 32 data lines each. the 32-bit-wide data busses enable single cycle 32-bit operations. the multiple bus architecture, commonly termed "harvard bus", enables the c28x to fetch an instruction, read a data value and write a data value in a single cycle. all peripherals and memories attached to the memory bus will prioritize memory accesses. generally, the priority of memory bus accesses can be summarized as follows: highest: data writes (simultaneous data and program writes cannot occur on the memory bus.) program writes (simultaneous data and program writes cannot occur on the memory bus.) data reads program reads (simultaneous program reads and fetches cannot occur on the memory bus.) lowest: fetches (simultaneous program reads and fetches cannot occur on the memory bus.) 3.2.3 peripheral bus to enable migration of peripherals between various texas instruments (ti) dsp family of devices, the f28044 device adopts a peripheral bus standard for peripheral interconnect. the peripheral bus bridge multiplexes the various busses that make up the processor memory bus into a single bus consisting of 16 address lines and 16 or 32 data lines and associated control signals. two versions of the peripheral bus are supported on the f28044. one version only supports 16-bit accesses (called peripheral frame 2). the other version supports both 16-bit and 32-bit accesses (called peripheral frame 1). copyright ? 2006 ? 2010, texas instruments incorporated functional overview 23 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 3.2.4 real-time jtag and analysis the f28044 device implements the standard ieee 1149.1 jtag interface. additionally, the device supports real-time mode of operation whereby the contents of memory, peripheral and register locations can be modified while the processor is running and executing code and servicing interrupts. the user can also single step through non-time critical code while enabling time-critical interrupts to be serviced without interference. the f28044 implements the real-time mode in hardware within the cpu. this is a unique feature to the f28044, no software monitor is required. additionally, special analysis hardware is provided which allows the user to set hardware breakpoint or data/address watch-points and generate various user-selectable break events when a match occurs. 3.2.5 flash the f28044 contains 64k x 16 of embedded flash memory, segregated into four 16k x 16 sectors. both devices also contain a single 1k x 16 of otp memory at address range 0x3d 7800 ? 0x3d 7bff. the user can individually erase, program, and validate a flash sector while leaving other sectors untouched. however, it is not possible to use one sector of the flash or the otp to execute flash algorithms that erase/program other sectors. special memory pipelining is provided to enable the flash module to achieve higher performance. the flash/otp is mapped to both program and data space; therefore, it can be used to execute code or store data information. note that addresses 0x3f7ff0 ? 0x3f7ff5 are reserved for data variables and should not contain program code. note the f28044 flash and otp wait-states can be configured by the application. this allows applications running at slower frequencies to configure the flash to use fewer wait-states. flash effective performance can be improved by enabling the flash pipeline mode in the flash options register. with this mode enabled, effective performance of linear code execution will be much faster than the raw performance indicated by the wait-state configuration alone. the exact performance gain when using the flash pipeline mode is application-dependent. for more information on the flash options, flash wait-state, and otp wait-state registers, see the tms320x280x, 2801x, 2804x dsp system control and interrupts reference guide (literature number spru712 ). 3.2.6 m0, m1 sarams the f28044 device contains these two blocks (m0/m1) of single access memory, each 1k x 16 in size. the stack pointer points to the beginning of block m1 on reset. the m0 and m1 blocks, like all other memory blocks on c28x devices, are mapped to both program and data space. hence, the user can use m0 and m1 to execute code or for data variables. the partitioning is performed within the linker. the c28x device presents a unified memory map to the programmer. this makes for easier programming in high-level languages. 3.2.7 l0, l1 sarams the f28044 device contains an additional 8k x 16 of single-access ram, divided into 2 blocks (l0-4k, l1-4k). each block can be independently accessed to minimize cpu pipeline stalls. each block is mapped to both program and data space. 24 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 3.2.8 boot rom the boot rom is factory-programmed with boot-loading software. boot-mode signals are provided to tell the bootloader software what boot mode to use on power up. the user can select to boot normally or to download new software from an external connection or to select boot software that is programmed in the internal flash/rom. the boot rom also contains standard tables, such as sin/cos waveforms, for use in math related algorithms. table 3-3. boot mode selection gpio18 gpio29 mode description gpio34 spiclka scitxda boot to flash/rom jump to flash/rom address 0x3f 7ff6 1 1 1 you must have programmed a branch instruction here prior to reset to redirect code execution as desired. sci-a boot load a data stream from sci-a 1 1 0 spi-a boot load from an external serial spi eeprom on spi-a 1 0 1 i 2 c boot load data from an external eeprom at address 0x50 on 1 0 0 the i 2 c bus ecan-a boot reserved. this mode should not be used. 0 1 1 boot to m0 saram jump to m0 saram address 0x00 0000. 0 1 0 boot to otp jump to otp address 0x3d 7800 0 0 1 parallel i/o boot load data from gpio0 ? gpio15 0 0 0 copyright ? 2006 ? 2010, texas instruments incorporated functional overview 25 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 3.2.9 security the device supports high levels of security to protect the user firmware from being reverse engineered. the security features a 128-bit password (hardcoded for 16 wait-states), which the user programs into the flash. one code security module (csm) is used to protect the flash/otp and the l0/l1 saram blocks. the security feature prevents unauthorized users from examining the memory contents via the jtag port, executing code from external memory or trying to boot-load some undesirable software that would export the secure memory contents. to enable access to the secure blocks, the user must write the correct 128-bit "key" value, which matches the value stored in the password locations within the flash. note for code security operation, all addresses between 0x3f7f80 and 0x3f7ff5 cannot be used as program code or data, but must be programmed to 0x0000 when the code security password is programmed. if security is not a concern, addresses 0x3f7f80 through 0x3f7fef may be used for code or data. addresses 0x3f7ff0 ? 0x3f7ff5 are reserved for data variables and should not contain program code. the 128-bit password (at 0x3f 7ff8 ? 0x3f 7fff) must not be programmed to zeros. doing so would permanently lock the device. disclaimer code security module disclaimer the code security module ("csm") included on this device was designed to password protect the data stored in the associated memory (either rom or flash) and is warranted by texas instruments (ti), in accordance with its standard terms and conditions, to conform to ti's published specifications for the warranty period applicable for this device. ti does not, however, warrant or represent that the csm cannot be compromised or breached or that the data stored in the associated memory cannot be accessed through other means. moreover, except as set forth above, ti makes no warranties or representations concerning the csm or operation of this device, including any implied warranties of merchantability or fitness for a particular purpose. in no event shall ti be liable for any consequential, special, indirect, incidental, or punitive damages, however caused, arising in any way out of your use of the csm or this device, whether or not ti has been advised of the possibility of such damages. excluded damages include, but are not limited to loss of data, loss of goodwill, loss of use or interruption of business or other economic loss. 26 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 3.2.10 peripheral interrupt expansion (pie) block the pie block serves to multiplex numerous interrupt sources into a smaller set of interrupt inputs. the pie block can support up to 96 peripheral interrupts. on the f28044 device, 43 of the possible 96 interrupts are used by peripherals. the 96 interrupts are grouped into blocks of 8 and each group is fed into 1 of 12 cpu interrupt lines (int1 to int12). each of the 96 interrupts is supported by its own vector stored in a dedicated ram block that can be overwritten by the user. the vector is automatically fetched by the cpu on servicing the interrupt. it takes 8 cpu clock cycles to fetch the vector and save critical cpu registers. hence the cpu can quickly respond to interrupt events. prioritization of interrupts is controlled in hardware and software. each individual interrupt can be enabled/disabled within the pie block. 3.2.11 external interrupts (xint1, xint2, xnmi) the f28044 device supports three masked external interrupts (xint1, xint2, xnmi). xnmi can be connected to the int13 or nmi interrupt of the cpu. each of the interrupts can be selected for negative, positive, or both negative and positive edge triggering and can also be enabled/disabled (including the xnmi). the masked interrupts also contain a 16-bit free running up counter, which is reset to zero when a valid interrupt edge is detected. this counter can be used to accurately time stamp the interrupt. unlike the 281x devices, there are no dedicated pins for the external interrupts. rather, any port a gpio pin can be configured to trigger any external interrupt. 3.2.12 oscillator and pll the f28044 device can be clocked by an external oscillator or by a crystal attached to the on-chip oscillator circuit. a pll is provided supporting up to 10 input-clock-scaling ratios. the pll ratios can be changed on-the-fly in software, enabling the user to scale back on operating frequency if lower power operation is desired. refer to the electrical specification section for timing details. the pll block can be set in bypass mode. 3.2.13 watchdog the f28044 device contains a watchdog timer. the user software must regularly reset the watchdog counter within a certain time frame; otherwise, the watchdog will generate a reset to the processor. the watchdog can be disabled if necessary. 3.2.14 peripheral clocking the clocks to each individual peripheral can be enabled/disabled so as to reduce power consumption when a peripheral is not in use. additionally, the system clock to the serial ports (except i 2 c) and the adc blocks can be scaled relative to the cpu clock. this enables the timing of peripherals to be decoupled from increasing cpu clock speeds. 3.2.15 low-power modes the f28044 device is full static cmos devices. three low-power modes are provided: idle: place cpu into low-power mode. peripheral clocks may be turned off selectively and only those peripherals that need to function during idle are left operating. an enabled interrupt from an active peripheral or the watchdog timer will wake the processor from idle mode. standby: turns off clock to cpu and peripherals. this mode leaves the oscillator and pll functional. an external interrupt event will wake the processor and the peripherals. execution begins on the next valid cycle after detection of the interrupt event halt: turns off the internal oscillator. this mode basically shuts down the device and places it in the lowest possible power consumption mode. a reset or external signal can wake the device from this mode. copyright ? 2006 ? 2010, texas instruments incorporated functional overview 27 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 3.2.16 peripheral frames 0, 1, 2 (pfn) the f28044 device segregates peripherals into three sections. the mapping of peripherals is as follows: pf0: pie: pie interrupt enable and control registers plus pie vector table flash: flash control, programming, erase, verify registers timers: cpu-timers 0, 1, 2 registers csm: code security module key registers adc: adc result registers (dual-mapped) pf1: gpio: gpio mux configuration and control registers epwm: enhanced pulse width modulator module and registers pf2: sys: system control registers sci: serial communications interface (sci) control and rx/tx registers spi: serial port interface (spi) control and rx/tx registers adc: adc status, control, and result register i 2 c: inter-integrated circuit module and registers 3.2.17 general-purpose input/output (gpio) multiplexer most of the peripheral signals are multiplexed with general-purpose input/output (gpio) signals. this enables the user to use a pin as gpio if the peripheral signal or function is not used. on reset, gpio pins are configured as inputs. the user can individually program each pin for gpio mode or peripheral signal mode. for specific inputs, the user can also select the number of input qualification cycles. this is to filter unwanted noise glitches. the gpio signals can also be used to bring the device out of specific low-power modes. 3.2.18 32-bit cpu-timers (0, 1, 2) cpu-timers 0, 1, and 2 are identical 32-bit timers with presettable periods and with 16-bit clock prescaling. the timers have a 32-bit count down register, which generates an interrupt when the counter reaches zero. the counter is decremented at the cpu clock speed divided by the prescale value setting. when the counter reaches zero, it is automatically reloaded with a 32-bit period value. cpu-timer 2 is reserved for the dsp/bios real-time os, and is connected to int14 of the cpu. if dsp/bios is not being used, cpu-timer 2 is available for general use. cpu-timer 1 is for general use and can be connected to int13 of the cpu. cpu-timer 0 is also for general use and is connected to the pie block. 3.2.19 control peripherals the f28044 device supports the following peripherals which are used for embedded control and communication: epwm: the enhanced pwm peripheral supports independent/complementary pwm generation, adjustable dead-band generation for leading/trailing edges, latched/cycle-by-cycle trip mechanism. some of the pwm pins support hrpwm features. adc: the adc block is a 12-bit converter, single ended, 16-channels. it contains two sample-and-hold units for simultaneous sampling. 28 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 3.2.20 serial port peripherals the f28044 device supports the following serial communication peripherals: spi: the spi is a high-speed, synchronous serial i/o port that allows a serial bit stream of programmed length (one to sixteen bits) to be shifted into and out of the device at a programmable bit-transfer rate. normally, the spi is used for communications between the dsp controller and external peripherals or another processor. typical applications include external i/o or peripheral expansion through devices such as shift registers, display drivers, and adcs. multi-device communications are supported by the master/slave operation of the spi. on the f28044 device, the spi contains a 16-level receive and transmit fifo for reducing interrupt servicing overhead. sci: the serial communications interface is a two-wire asynchronous serial port, commonly known as uart. on the f28044 device, the sci contains a 16-level receive and transmit fifo for reducing interrupt servicing overhead. i 2 c: the inter-integrated circuit (i 2 c) module provides an interface between a dsp and other devices compliant with philips semiconductors inter-ic bus (i 2 c-bus) specification version 2.1 and connected by way of an i 2 c-bus. external components attached to this 2-wire serial bus can transmit/receive up to 8-bit data to/from the dsp through the i 2 c module. on the f28044 device, the i 2 c contains a 16-level receive and transmit fifo for reducing interrupt servicing overhead. 3.3 register map the f28044 device contains three peripheral register spaces. the spaces are categorized as follows: peripheral frame 0: these are peripherals that are mapped directly to the cpu memory bus. see table 3-4 . peripheral frame 1 these are peripherals that are mapped to the 32-bit peripheral bus. see table 3-5 . peripheral frame 2: these are peripherals that are mapped to the 16-bit peripheral bus. see table 3-6 . table 3-4. peripheral frame 0 registers (1) (2) name address range size (x16) access type (3) device emulation registers 0x0880 ? 0x09ff 384 eallow protected eallow protected flash registers (4) 0x0a80 ? 0x0adf 96 csm protected code security module registers 0x0ae0 ? 0x0aef 16 eallow protected adc result registers (dual-mapped) 0x0b00 ? 0xb0f 16 cpu-timer0/1/2 registers 0x0c00 ? 0x0c3f 64 not eallow protected pie registers 0x0ce0 ? 0x0cff 32 pie vector table 0x0d00 ? 0x0dff 256 eallow protected (1) registers in frame 0 support 16-bit and 32-bit accesses. (2) missing segments of memory space are reserved and should not be used in applications. (3) if registers are eallow protected, then writes cannot be performed until the eallow instruction is executed. the edis instruction disables writes to prevent stray code or pointers from corrupting register contents. (4) the flash registers are also protected by the code security module (csm). copyright ? 2006 ? 2010, texas instruments incorporated functional overview 29 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 3-5. peripheral frame 1 registers (1) (2) name address range size (x16) access type epwm1 + hrpwm registers 0x6800 ? 0x683f 64 epwm2 + hrpwm registers 0x6840 ? 0x687f 64 epwm3 + hrpwm registers 0x6880 ? 0x68bf 64 epwm4 + hrpwm registers 0x68c0 ? 0x68ff 64 epwm5 + hrpwm registers 0x6900 ? 0x693f 64 epwm6 + hrpwm registers 0x6940 ? 0x697f 64 epwm7 + hrpwm registers 0x6980 ? 0x69bf 64 some epwm registers are eallow epwm8 + hrpwm registers 0x69c0 ? 0x69ff 64 protected. see table 4-2 through epwm9 + hrpwm registers 0x6600 ? 0x663f 64 table 4-5 . epwm10 + hrpwm registers 0x6640 ? 0x667f 64 epwm11 + hrpwm registers 0x6680 ? 0x66bf 64 epwm12 + hrpwm registers 0x66c0 ? 0x66ff 64 epwm13 + hrpwm registers 0x6700 ? 0x673f 64 epwm14 + hrpwm registers 0x6740 ? 0x677f 64 epwm15 + hrpwm registers 0x6780 ? 0x67bf 64 epwm16 + hrpwm registers 0x67c0 ? 0x67ff 64 gpio control registers 0x6f80 ? 0x6fbf 128 eallow protected gpio data registers 0x6fc0 ? 0x6fdf 32 not eallow protected gpio interrupt and lpm select registers 0x6fe0 ? 0x6fff 32 eallow protected (1) all 32-bit accesses are aligned to even address boundaries. (2) missing segments of memory space are reserved and should not be used in applications. table 3-6. peripheral frame 2 registers (1) (2) name address range size (x16) access type system control registers 0x7010 ? 0x702f 32 eallow protected spi-a registers 0x7040 ? 0x704f 16 sci-a registers 0x7050 ? 0x705f 16 external interrupt registers 0x7070 ? 0x707f 16 not eallow protected adc registers 0x7100 ? 0x711f 32 i 2 c registers 0x7900 ? 0x792f 48 (1) peripheral frame 2 only allows 16-bit accesses. all 32-bit accesses are ignored (invalid data may be returned or written). (2) missing segments of memory space are reserved and should not be used in applications. 3.4 device emulation registers these registers are used to control the protection mode of the c28x cpu and to monitor some critical device signals. the registers are defined in table 3-7 . table 3-7. device emulation registers name address range size (x16) description 0x0880 ? devicecnf 2 device configuration register 0x0881 partid 0x0882 1 part id register 0x00fc ? f28044 revid 0x0883 1 revision id register 0x0000 ? silicon rev. 0 - tmx or tms protstart 0x0884 1 block protection start address register protrange 0x0885 1 block protection range address register 30 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 3.5 interrupts figure 3-3 shows how the various interrupt sources are multiplexed within the f28044 device. figure 3-3. external and pie interrupt sources copyright ? 2006 ? 2010, texas instruments incorporated functional overview 31 submit documentation feedback product folder link(s): tms320f28044 xint2 c28x cpu cpu timer 2 (reserved for dsp/bios) cpu timer 0 watchdog peripherals (spi, sci, i c, epwm, adc) 2 tint0 interrupt control xnmicr(15:0) xint1 mux mux mux mux mux interrupt control xint1 xint1cr(15:0) interrupt control xint2 96 interrupts pie xint2cr(15:0) gpio mux wdint int1 to int12 int13 int14 nmi xint1ctr(15:0) xint2ctr(15:0) xnmictr(15:0) cpu timer 1 tint2 low-power modes lpmint wakeint tint1 int13_select xnmi_xint13 gpio0.int gpio31.int adc xint2soc gpioxint1sel(4:0) gpioxint2sel(4:0) gpioxnmisel(4:0) nmi_select 1
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com eight pie block interrupts are grouped into one cpu interrupt. in total, 12 cpu interrupt groups, with 8 interrupts per group equals 96 possible interrupts. on the f28044 device, 43 of these are used by peripherals as shown in table 3-8 . the trap #vectornumber instruction transfers program control to the interrupt service routine corresponding to the vector specified. trap #0 attempts to transfer program control to the address pointed to by the reset vector. the pie vector table does not, however, include a reset vector. therefore, trap #0 should not be used when the pie is enabled. doing so will result in undefined behavior. when the pie is enabled, trap #1 through trap #12 will transfer program control to the interrupt service routine corresponding to the first vector within the pie group. for example: trap #1 fetches the vector from int1.1, trap #2 fetches the vector from int2.1 and so forth. figure 3-4. multiplexing of interrupts using the pie block table 3-8. pie peripheral interrupts (1) pie interrupts cpu interrupts intx.8 intx.7 intx.6 intx.5 intx.4 intx.3 intx.2 intx.1 wakeint tint0 adcint seq2int seq1int int1 xint2 xint1 reserved (lpm/wd) (timer 0) (adc) (adc) (adc) epwm8_tzint epwm7_tzint epwm6_tzint epwm5_tzint epwm4_tzint epwm3_tzint epwm2_tzint epwm1_tzint int2 (epwm8) (epwm7) (epwm6) (epwm5) (epwm4) (epwm3) (epwm2) (epwm1) epwm8_int epwm7_int epwm6t_intn epwm5_int epwm4_int epwm3_int epwm2_int epwm1_int int3 (epwm8) (epwm7) (epwm6) (epwm5) (epwm4) (epwm3) (epwm2) (epwm1) int4 reserved reserved reserved reserved reserved reserved reserved reserved int5 reserved reserved reserved reserved reserved reserved reserved reserved spitxinta spirxinta int6 reserved reserved reserved reserved reserved reserved (spi-a) (spi-a) int7 reserved reserved reserved reserved reserved reserved reserved reserved i2cint2a i2cint1a int8 reserved reserved reserved reserved reserved reserved (i2c-a) (i2c-a) (1) out of the 96 possible interrupts, 43 interrupts are currently used. the remaining interrupts are reserved for future devices. these interrupts can be used as software interrupts if they are enabled at the pieifrx level, provided none of the interrupts within the group is being used by a peripheral. otherwise, interrupts coming in from peripherals may be lost by accidentally clearing their flag while modifying the pieifr. to summarize, there are two safe cases when the reserved interrupts could be used as software interrupts: ? no peripheral within the group is asserting interrupts. ? no peripheral interrupts are assigned to the group (example pie group 12). 32 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 int12 mux int11 int2 int1 cpu (enable) (flag) intx intx.8 pieierx(8:1) pieifrx(8:1) mux intx.7 intx.6 intx.5 intx.4 intx.3 intx.2 intx.1 from peripherals or external interrupts (enable) (flag) ier(12:1) ifr(12:1) global enable intm 1 0 pieackx (enable/flag)
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 3-8. pie peripheral interrupts (1) (continued) pie interrupts cpu interrupts intx.8 intx.7 intx.6 intx.5 intx.4 intx.3 intx.2 intx.1 scitxinta scirxinta int9 reserved reserved reserved reserved reserved reserved (sci-a) (sci-a) epwm16_tzint epwm15_tzint epwm14_tzint epwm13_tzint epwm12_tzint epwm11_tzint epwm10_tzint epwm9_tzint int10 (epwm16) (epwm15) (epwm14) (epwm13) (epwm12) (epwm11) (epwm10) (epwm9) epwm16_int epwm15_int epwm14_int epwm13_int epwm12_int epwm11_int epwm10_int epwm9_int int11 (epwm16) (epwm15) (epwm14) (epwm13) (epwm12) (epwm11) (epwm10) (epwm9) int12 reserved reserved reserved reserved reserved reserved reserved reserved table 3-9. pie configuration and control registers name address size (x16) description (1) piectrl 0x0ce0 1 pie, control register pieack 0x0ce1 1 pie, acknowledge register pieier1 0x0ce2 1 pie, int1 group enable register pieifr1 0x0ce3 1 pie, int1 group flag register pieier2 0x0ce4 1 pie, int2 group enable register pieifr2 0x0ce5 1 pie, int2 group flag register pieier3 0x0ce6 1 pie, int3 group enable register pieifr3 0x0ce7 1 pie, int3 group flag register pieier4 0x0ce8 1 pie, int4 group enable register pieifr4 0x0ce9 1 pie, int4 group flag register pieier5 0x0cea 1 pie, int5 group enable register pieifr5 0x0ceb 1 pie, int5 group flag register pieier6 0x0cec 1 pie, int6 group enable register pieifr6 0x0ced 1 pie, int6 group flag register pieier7 0x0cee 1 pie, int7 group enable register pieifr7 0x0cef 1 pie, int7 group flag register pieier8 0x0cf0 1 pie, int8 group enable register pieifr8 0x0cf1 1 pie, int8 group flag register pieier9 0x0cf2 1 pie, int9 group enable register pieifr9 0x0cf3 1 pie, int9 group flag register pieier10 0x0cf4 1 pie, int10 group enable register pieifr10 0x0cf5 1 pie, int10 group flag register pieier11 0x0cf6 1 pie, int11 group enable register pieifr11 0x0cf7 1 pie, int11 group flag register pieier12 0x0cf8 1 pie, int12 group enable register pieifr12 0x0cf9 1 pie, int12 group flag register reserved 0x0cfa ? 6 reserved 0x0cff (1) the pie configuration and control registers are not protected by eallow mode. the pie vector table is protected. copyright ? 2006 ? 2010, texas instruments incorporated functional overview 33 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 3.5.1 external interrupts table 3-10. external interrupt registers name address size (x16) description xint1cr 0x7070 1 xint1 control register xint2cr 0x7071 1 xint2 control register 0x7072 ? reserved 5 reserved 0x7076 xnmicr 0x7077 1 xnmi control register xint1ctr 0x7078 1 xint1 counter register xint2ctr 0x7079 1 xint2 counter register 0x707a ? reserved 5 reserved 0x707e xnmictr 0x707f 1 xnmi counter register each external interrupt can be enabled/disabled or qualified using positive, negative, or both positive and negative edge. for more information, see the tms320x280x, 2801x, 2804x dsp system control and interrupts reference guide (literature number spru712 ). 34 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 3.6 system control this section describes the f28044 device oscillator, pll and clocking mechanisms, the watchdog function and the low-power modes. figure 3-5 shows the various clock and reset domains in the f28044 device that will be discussed. a. clkin is the clock into the cpu. it is passed out of the cpu as sysclkout (that is, clkin is the same frequency as sysclkout). figure 3-5. clock and reset domains copyright ? 2006 ? 2010, texas instruments incorporated functional overview 35 submit documentation feedback product folder link(s): tms320f28044 pll x1 x2 power modes control watchdog block 28x cpu low-speed peripherals sci-a, spi-a high-speed prescaler low-speed prescaler clock enables gpio mux system control registers xclkin adc registers 12-bit adc low-speed peripherals sci-a, spi-a peripheral bus 16 adc inputs lspclk peripheral reset sysclkout (a) xrs reset gpios osc clkin (a) hspclk i c-a 2 peripheral registers peripheral registers peripheral registers i/o i/o i/o epwm 1-16 peripheral registers cpu timers
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com the pll, clocking, watchdog and low-power modes, are controlled by the registers listed in table 3-11 . table 3-11. pll, clocking, watchdog, and low-power mode registers (1) name address size (x16) description xclk 0x7010 1 xclkout pin control, x1 and xclkin status register pllsts 0x7011 1 pll status register 0x7012 ? reserved 7 reserved 0x7018 pclkcr2 0x7019 1 peripheral clock control register 2 hispcp 0x701a 1 high-speed peripheral clock prescaler register (for hspclk) lospcp 0x701b 1 low-speed peripheral clock prescaler register (for lspclk) pclkcr0 0x701c 1 peripheral clock control register 0 pclkcr1 0x701d 1 peripheral clock control register 1 lpmcr0 0x701e 1 low power mode control register 0 0x701f ? reserved 1 reserved 0x7020 pllcr 0x7021 1 pll control register scsr 0x7022 1 system control and status register wdcntr 0x7023 1 watchdog counter register reserved 0x7024 1 reserved wdkey 0x7025 1 watchdog reset key register 0x7026 ? reserved 3 reserved 0x7028 wdcr 0x7029 1 watchdog control register 0x702a ? reserved 6 reserved 0x702f (1) all of the registers in this table are eallow protected. 36 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 3.6.1 osc and pll block figure 3-6 shows the osc and pll block on the f28044. figure 3-6. osc and pll block diagram the on-chip oscillator circuit enables a crystal/resonator to be attached to the f28044 device using the x1 and x2 pins. if the on-chip oscillator is not used, an external oscillator can be used in either one of the following configurations: 1. a 3.3-v external oscillator can be directly connected to the xclkin pin. the x2 pin should be left unconnected and the x1 pin tied low. the logic-high level in this case should not exceed v ddio . 2. a 1.8-v external oscillator can be directly connected to the x1 pin. the x2 pin should be left unconnected and the xclkin pin tied low. the logic-high level in this case should not exceed v dd . the three possible input-clock configurations are shown in figure 3-7 through figure 3-9 figure 3-7. using a 3.3-v external oscillator figure 3-8. using a 1.8-v external oscillator figure 3-9. using the internal oscillator copyright ? 2006 ? 2010, texas instruments incorporated functional overview 37 submit documentation feedback product folder link(s): tms320f28044 external clock signal (toggling 0-v ) dd xclkin x2 nc x1 x1 xclkin (3.3-v clock input) on-chip oscillator x2 xor pllsts[oscoff] oscclk pll vcoclk oscclk or vcoclk 4-bit pll select (pllcr) clkin oscclk 0 pllsts[plloff] n /2 pllsts[clkindiv] n 0 c l1 x2 x1 crystal c l2 xclkin external clock signal (toggling 0-v ) ddio xclkin x2 nc x1
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 3.6.1.1 external reference oscillator clock option the typical specifications for the external quartz crystal for a frequency of 20 mhz are listed below: ? fundamental mode, parallel resonant ? c l (load capacitance) = 12 pf ? c l1 = c l2 = 24 pf ? c shunt = 6 pf ? esr range = 30 to 60 ? ti recommends that customers have the resonator/crystal vendor characterize the operation of their device with the dsp chip. the resonator/crystal vendor has the equipment and expertise to tune the tank circuit. the vendor can also advise the customer regarding the proper tank component values that will produce proper start up and stability over the entire operating range. 3.6.1.2 pll-based clock module the f28044 device has an on-chip, pll-based clock module. this module provides all the necessary clocking signals for the device, as well as control for low-power mode entry. the pll has a 4-bit ratio control pllcr[div] to select different cpu clock rates. the watchdog module should be disabled before writing to the pllcr register. it can be re-enabled (if need be) after the pll module has stabilized, which takes 131072 oscclk cycles. table 3-12. pllcr register bit definitions sysclkout pllcr[div] (1) pllsts[clkindiv] (clkin) (2) 0000 (pll bypass) 0 oscclk/2 0000 (pll bypass) 1 oscclk 0001 0 (oscclk*1)/2 0010 0 (oscclk*2)/2 0011 0 (oscclk*3)/2 0100 0 (oscclk*4)/2 0101 0 (oscclk*5)/2 0110 0 (oscclk*6)/2 0111 0 (oscclk*7)/2 1000 0 (oscclk*8)/2 1001 0 (oscclk*9)/2 1010 0 (oscclk*10)/2 1011 ? 1111 0 reserved (1) this register is eallow protected. (2) clkin is the input clock to the cpu. sysclkout is the output clock from the cpu. the frequency of sysclkout is the same as clkin. note pllsts[clkindiv] can be set to 1 only if pllcr is 0x0000. pllcr should not be changed once pllsts[clkindiv] is set. the pll-based clock module provides two modes of operation: ? crystal-operation - this mode allows the use of an external crystal/resonator to provide the time base to the device. ? external clock source operation - this mode allows the internal oscillator to be bypassed. the device clocks are generated from an external clock source input on the x1 or the xclkin pin. 38 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 3-13. possible pll configuration modes sysclkout pll mode remarks pllsts[clkindiv] (clkin) invoked by the user setting the plloff bit in the pllsts register. the pll block 0 oscclk/2 is disabled in this mode. this can be useful to reduce system noise and for low pll off power operation. the pllcr register must first be set to 0x0000 (pll bypass) 1 oscclk before entering this mode. the cpu clock (clkin) is derived directly from the input clock on either x1/x2, x1 or xclkin. pll bypass is the default pll configuration upon power-up or after an external 0 oscclk/2 reset ( xrs). this mode is selected when the pllcr register is set to 0x0000 or pll bypass while the pll locks to a new frequency after the pllcr register has been 1 oscclk modified. in this mode, the pll itself is bypassed but the pll is not turned off. achieved by writing a non-zero value n into the pllcr register. upon writing to the pll enable 0 oscclk*n/2 pllcr the device will switch to pll bypass mode until the pll locks. 3.6.1.3 loss of input clock in pll-enabled and pll-bypass mode, if the input clock oscclk is removed or absent, the pll will still issue a "limp-mode" clock. the limp-mode clock continues to clock the cpu and peripherals at a typical frequency of 1 ? 5 mhz. limp mode is not specified to work from power-up, only after input clocks have been present initially. in pll bypass mode, the limp mode clock from the pll is automatically routed to the cpu if the input clock is removed or absent. normally, when the input clocks are present, the watchdog counter decrements to initiate a watchdog reset or wdint interrupt. however, when the external input clock fails, the watchdog counter stops decrementing (i.e., the watchdog counter does not change with the limp-mode clock). in addition to this, the device will be reset and the ? missing clock status ? (mclksts) bit will be set. these conditions could be used by the application firmware to detect the input clock failure and initiate necessary shut-down procedure for the system. note applications in which the correct cpu operating frequency is absolutely critical should implement a mechanism by which the dsp will be held in reset, should the input clocks ever fail. for example, an r-c circuit may be used to trigger the xrs pin of the dsp, should the capacitor ever get fully charged. an i/o pin may be used to discharge the capacitor on a periodic basis to prevent it from getting fully charged. such a circuit would also help in detecting failure of the flash memory and the v dd3vfl rail. copyright ? 2006 ? 2010, texas instruments incorporated functional overview 39 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 3.6.2 watchdog block the watchdog block on the f28044 is similar to the one used on the 240x and 281x devices. the watchdog module generates an output pulse, 512 oscillator clocks wide (oscclk), whenever the 8-bit watchdog up counter has reached its maximum value. to prevent this, the user disables the counter or the software must periodically write a 0x55 + 0xaa sequence into the watchdog key register which will reset the watchdog counter. figure 3-10 shows the various functional blocks within the watchdog module. a. the wdrst signal is driven low for 512 oscclk cycles. figure 3-10. watchdog module the wdint signal enables the watchdog to be used as a wakeup from idle/standby mode. in standby mode, all peripherals are turned off on the device. the only peripheral that remains functional is the watchdog. the watchdog module will run off oscclk. the wdint signal is fed to the lpm block so that it can wake the device from standby (if enabled). see section 3.7 , low-power modes block, for details. in idle mode, the wdint signal can generate an interrupt to the cpu, via the pie, to take the cpu out of idle mode. in halt mode, this feature cannot be used because the oscillator (and pll) are turned off and hence so is the watchdog. 40 functional overview copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 /512 oscclk wdcr (wdps(2:0)) wdclk wdcntr(7:0) wdkey(7:0) good key 1 0 1 wdcr (wdchk(2:0)) bad wdchk key wdcr (wddis) clear counter scsr (wdenint) watchdog prescaler generate output pulse (512 oscclks) 8-bit watchdog counter clr wdrst wdint watchdog 55 + aa key detector xrs core-reset wdrst (a) internal pullup
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 3.7 low-power modes block the low-power modes on the f28044 device are similar to the 240x devices. table 3-14 summarizes the various modes. table 3-14. low-power modes mode lpmcr0(1:0) oscclk clkin sysclkout exit (1) xrs, watchdog interrupt, any enabled idle 00 on on on (2) interrupt, xnmi on xrs, watchdog interrupt, gpio port a standby 01 off off (watchdog still running) signal, debugger (3) , xnmi off xrs, gpio port a signal, xnmi, halt 1x (oscillator and pll turned off, off off debugger (3) watchdog not functional) (1) the exit column lists which signals or under what conditions the low power mode will be exited. a low signal, on any of the signals, will exit the low power condition. this signal must be kept low long enough for an interrupt to be recognized by the device. otherwise the idle mode will not be exited and the device will go back into the indicated low power mode. (2) the idle mode on the c28x behaves differently than on the 24x/240x. on the c28x, the clock output from the cpu (sysclkout) is still functional while on the 24x/240x the clock is turned off. (3) on the c28x, the jtag port can still function even if the cpu clock (clkin) is turned off. the various low-power modes operate as follows: idle mode: this mode is exited by any enabled interrupt or an xnmi that is recognized by the processor. the lpm block performs no tasks during this mode as long as the lpmcr0(lpm) bits are set to 0,0. standby mode: any gpio port a signal (gpio[31:0]) can wake the device from standby mode. the user must select which signal(s) will wake the device in the gpiolpmsel register. the selected signal(s) are also qualified by the oscclk before waking the device. the number of oscclks is specified in the lpmcr0 register. halt mode: only the xrs and any gpio port a signal (gpio[31:0]) can wake the device from halt mode. the user selects the signal in the gpiolpmsel register. note the low-power modes do not affect the state of the output pins (pwm pins included). they will be in whatever state the code left them in when the idle instruction was executed. see the tms320x280x, 2801x, 2804x dsp system control and interrupts reference guide (literature number spru712 ) for details. copyright ? 2006 ? 2010, texas instruments incorporated functional overview 41 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 4 peripherals the integrated peripherals of the f28044 device are described in the following subsections: ? three 32-bit cpu-timers ? up to 16 enhanced pwm modules (epwm1 ? 16) ? enhanced analog-to-digital converter (adc) module ? serial communications interface module (sci-a) ? serial peripheral interface (spi) module (spi-a) ? inter-integrated circuit module (i 2 c) ? digital i/o and shared pin functions 4.1 32-bit cpu-timers 0/1/2 there are three 32-bit cpu-timers on the f28044 device (cpu-timer0/1/2). cpu-timer 0 and cpu-timer 1 can be used in user applications. timer 2 is reserved for dsp/bios ? . these timers are different from the timers that are present in the epwm modules. note if the application is not using dsp/bios, then cpu-timer 2 can be used in the application. figure 4-1. cpu-timers 42 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 borrow reset timer reload sysclkout tcr.4 (timer start status) tint 16-bit timer divide-down tddrh:tddr 32-bit timer period prdh:prd 32-bit counter timh:tim 16-bit prescale counter psch:psc borrow
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 in the f28044 device, the timer interrupt signals ( tint0, tint1, tint2) are connected as shown in figure 4-2 . a. the timer registers are connected to the memory bus of the c28x processor. b. the timing of the timers is synchronized to sysclkout of the processor clock. figure 4-2. cpu-timer interrupt signals and output signal the general operation of the timer is as follows: the 32-bit counter register "timh:tim" is loaded with the value in the period register "prdh:prd". the counter register decrements at the sysclkout rate of the c28x. when the counter reaches 0, a timer interrupt output signal generates an interrupt pulse. the registers listed in table 4-1 are used to configure the timers. for more information, see the tms320x280x, 2801x, 2804x dsp system control and interrupts reference guide (literature number spru712 ). table 4-1. cpu-timers 0, 1, 2 configuration and control registers name address size (x16) description timer0tim 0x0c00 1 cpu-timer 0, counter register timer0timh 0x0c01 1 cpu-timer 0, counter register high timer0prd 0x0c02 1 cpu-timer 0, period register timer0prdh 0x0c03 1 cpu-timer 0, period register high timer0tcr 0x0c04 1 cpu-timer 0, control register reserved 0x0c05 1 reserved timer0tpr 0x0c06 1 cpu-timer 0, prescale register timer0tprh 0x0c07 1 cpu-timer 0, prescale register high timer1tim 0x0c08 1 cpu-timer 1, counter register timer1timh 0x0c09 1 cpu-timer 1, counter register high timer1prd 0x0c0a 1 cpu-timer 1, period register timer1prdh 0x0c0b 1 cpu-timer 1, period register high timer1tcr 0x0c0c 1 cpu-timer 1, control register reserved 0x0c0d 1 reserved timer1tpr 0x0c0e 1 cpu-timer 1, prescale register timer1tprh 0x0c0f 1 cpu-timer 1, prescale register high timer2tim 0x0c10 1 cpu-timer 2, counter register timer2timh 0x0c11 1 cpu-timer 2, counter register high timer2prd 0x0c12 1 cpu-timer 2, period register timer2prdh 0x0c13 1 cpu-timer 2, period register high timer2tcr 0x0c14 1 cpu-timer 2, control register copyright ? 2006 ? 2010, texas instruments incorporated peripherals 43 submit documentation feedback product folder link(s): tms320f28044 int1 to int12 int14 c28x tint2 tint0 pie cpu-timer 2 (reserved for dsp/bios) int13 tint1 xint13 cpu-timer 0 cpu-timer 1
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 4-1. cpu-timers 0, 1, 2 configuration and control registers (continued) name address size (x16) description reserved 0x0c15 1 reserved timer2tpr 0x0c16 1 cpu-timer 2, prescale register timer2tprh 0x0c17 1 cpu-timer 2, prescale register high 0x0c18 ? reserved 40 reserved 0x0c3f 4.2 enhanced pwm modules (epwm1 ? 16) the f28044 device contains up to 16 enhanced pwm modules (epwm). figure 4-3 shows a block diagram of multiple epwm modules. figure 4-4 shows the signal interconnections with the epwm. see the tms320x280x, 2801x, 2804x enhanced pulse width modulator (epwm) module reference guide (literature number spru791 ) for details. figure 4-3. multiple pwm modules 44 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 pie peripheral bus epwm1 module epwm2 module epwmx module epwm1synciepwm2synci epwm2synco epwmxsynci epwmxsynco adc gpio mux epwm1synci epwm1synco adcsocx0 epwmxa epwmxb epwm2a epwm2b epwm1a epwm1b epwm1int epwm1soc epwm2int epwm2soc epwmxint epwmxsoc to ecap1 module (sync in) tz1 tz6 to tz1 tz6 to tz1 tz6 to epwm1synco
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 the f28044 device contains 16 enhanced pwm modules (epwm) and 16 high resolution pwm modules (hrpwm). the epwm modules synchronize input/output and the adc start of conversion (soca/b) signals are regrouped in the f28044. at reset, epwmmode bits in the gpamcfg register configure the sync signals to be compatible to the tms320f2808 device. in f28044 mode, the epwmmode bits are set to 11 to select the epwma signals on all 16 gpios (gpio0 ? gpio15). this mode selection also reconfigures the epwm1 syncout to be connected to four groups of epwm modules and as epwmsynco signals on the pin: ? group 1: epwm2, epwm3, epwm4 ? group 2: epwm5, epwm6, epwm7, epwm8 ? group 3: epwm9, epwm10, epwm11, epwm12 ? group 4: epwm13, epwm14, epwm15, epwm16 see the tms320x280x, 2801x, 2804x enhanced pulse width modulator (epwm) module reference guide (literature number spru791 ) for additional details. table 4-2 through table 4-5 show the complete epwm register set per module. table 4-2. epwm1 ? 4 control and status registers size (x16) / name epwm1 epwm2 epwm3 epwm4 description #shadow tbctl 0x6800 0x6840 0x6880 0x68c0 1 / 0 time base control register tbsts 0x6801 0x6841 0x6881 0x68c1 1 / 0 time base status register tbphshr 0x6802 0x6842 0x6882 0x68c2 1 / 0 time base phase hrpwm register tbphs 0x6803 0x6843 0x6883 0x68c3 1 / 0 time base phase register tbctr 0x6804 0x6844 0x6884 0x68c4 1 / 0 time base counter register tbprd 0x6805 0x6845 0x6885 0x68c5 1 / 1 time base period register set cmpctl 0x6807 0x6847 0x6887 0x68c7 1 / 0 counter compare control register cmpahr 0x6808 0x6848 0x6888 0x68c8 1 / 1 time base compare a hrpwm register cmpa 0x6809 0x6849 0x6889 0x68c9 1 / 1 counter compare a register set cmpb 0x680a 0x684a 0x688a 0x68ca 1 / 1 counter compare b register set aqctla 0x680b 0x684b 0x688b 0x68cb 1 / 0 action qualifier control register for output a aqctlb 0x680c 0x684c 0x688c 0x68cc 1 / 0 action qualifier control register for output b aqsfrc 0x680d 0x684d 0x688d 0x68cd 1 / 0 action qualifier software force register aqcsfrc 0x680e 0x684e 0x688e 0x68ce 1 / 1 action qualifier continuous s/w force register set dbctl 0x680f 0x684f 0x688f 0x68cf 1 / 1 dead-band generator control register dbred 0x6810 0x6850 0x6890 0x68d0 1 / 0 dead-band generator rising edge delay count register dbfed 0x6811 0x6851 0x6891 0x68d1 1 / 0 dead-band generator falling edge delay count register tzsel 0x6812 0x6852 0x6892 0x68d2 1 / 0 trip zone select register (1) tzctl 0x6814 0x6854 0x6894 0x68d4 1 / 0 trip zone control register (1) tzeint 0x6815 0x6855 0x6895 0x68d5 1 / 0 trip zone enable interrupt register (1) tzflg 0x6816 0x6856 0x6896 0x68d6 1 / 0 trip zone flag register tzclr 0x6817 0x6857 0x6897 0x68d7 1 / 0 trip zone clear register (1) tzfrc 0x6818 0x6858 0x6898 0x68d8 1 / 0 trip zone force register (1) etsel 0x6819 0x6859 0x6899 0x68d9 1 / 0 event trigger selection register etps 0x681a 0x685a 0x689a 0x68da 1 / 0 event trigger prescale register etflg 0x681b 0x685b 0x689b 0x68db 1 / 0 event trigger flag register etclr 0x681c 0x685c 0x689c 0x68dc 1 / 0 event trigger clear register etfrc 0x681d 0x685d 0x689d 0x68dd 1 / 0 event trigger force register pcctl 0x681e 0x685e 0x689e 0x68de 1 / 0 pwm chopper control register hrcnfg 0x6820 0x6860 0x68a0 0x68e0 1 / 0 hrpwm configuration register (1) (1) registers that are eallow protected. copyright ? 2006 ? 2010, texas instruments incorporated peripherals 45 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 4-3. epwm5 ? 8 control and status registers size (x16) / name epwm5 epwm6 epwm7 epwm8 description #shadow tbctl 0x6900 0x6940 0x6980 0x69c0 1 / 0 time base control register tbsts 0x6901 0x6941 0x6981 0x69c1 1 / 0 time base status register tbphshr 0x6902 0x6942 0x6982 0x69c2 1 / 0 time base phase hrpwm register tbphs 0x6903 0x6943 0x6983 0x69c3 1 / 0 time base phase register tbctr 0x6904 0x6944 0x6984 0x69c4 1 / 0 time base counter register tbprd 0x6905 0x6945 0x6985 0x69c5 1 / 1 time base period register set cmpctl 0x6907 0x6947 0x6987 0x69c7 1 / 0 counter compare control register cmpahr 0x6908 0x6948 0x6988 0x69c8 1 / 1 time base compare a hrpwm register cmpa 0x6909 0x6949 0x6989 0x69c9 1 / 1 counter compare a register set cmpb 0x690a 0x694a 0x698a 0x69ca 1 / 1 counter compare b register set aqctla 0x690b 0x694b 0x698b 0x69cb 1 / 0 action qualifier control register for output a aqctlb 0x690c 0x694c 0x698c 0x69cc 1 / 0 action qualifier control register for output b aqsfrc 0x690d 0x694d 0x698d 0x69cd 1 / 0 action qualifier software force register aqcsfrc 0x690e 0x694e 0x698e 0x69ce 1 / 1 action qualifier continuous s/w force register set dbctl 0x690f 0x694f 0x698f 0x69cf 1 / 1 dead-band generator control register dbred 0x6910 0x6950 0x6990 0x69d0 1 / 0 dead-band generator rising edge delay count register dbfed 0x6911 0x6951 0x6991 0x69d1 1 / 0 dead-band generator falling edge delay count register tzsel 0x6912 0x6952 0x6992 0x69d2 1 / 0 trip zone select register (1) tzctl 0x6914 0x6954 0x6994 0x69d4 1 / 0 trip zone control register (1) tzeint 0x6915 0x6955 0x6995 0x69d5 1 / 0 trip zone enable interrupt register (1) tzflg 0x6916 0x6956 0x6996 0x69d6 1 / 0 trip zone flag register tzclr 0x6917 0x6957 0x6997 0x69d7 1 / 0 trip zone clear register (1) tzfrc 0x6918 0x6958 0x6998 0x69d8 1 / 0 trip zone force register (1) etsel 0x6919 0x6959 0x6999 0x69d9 1 / 0 event trigger selection register etps 0x691a 0x695a 0x699a 0x69da 1 / 0 event trigger prescale register etflg 0x691b 0x695b 0x699b 0x69db 1 / 0 event trigger flag register etclr 0x691c 0x695c 0x699c 0x69dc 1 / 0 event trigger clear register etfrc 0x691d 0x695d 0x699d 0x69dd 1 / 0 event trigger force register pcctl 0x691e 0x695e 0x699e 0x69de 1 / 0 pwm chopper control register hrcnfg 0x6920 0x6960 0x69a0 0x69e0 1 / 0 hrpwm configuration register (1) (1) registers that are eallow protected. 46 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 4-4. epwm9 ? 12 control and status registers size (x16) / name epwm9 epwm10 epwm11 epwm12 description #shadow tbctl 0x6600 0x6640 0x6680 0x66c0 1 / 0 time base control register tbsts 0x6601 0x6641 0x6681 0x66c1 1 / 0 time base status register tbphshr 0x6602 0x6642 0x6682 0x66c2 1 / 0 time base phase hrpwm register tbphs 0x6603 0x6643 0x6683 0x66c3 1 / 0 time base phase register tbctr 0x6604 0x6644 0x6684 0x66c4 1 / 0 time base counter register tbprd 0x6605 0x6645 0x6685 0x66c5 1 / 1 time base period register set cmpctl 0x6607 0x6647 0x6687 0x66c7 1 / 0 counter compare control register cmpahr 0x6608 0x6648 0x6688 0x66c8 1 / 1 time base compare a hrpwm register cmpa 0x6609 0x6649 0x6689 0x66c9 1 / 1 counter compare a register set cmpb 0x660a 0x664a 0x668a 0x66ca 1 / 1 counter compare b register set aqctla 0x660b 0x664b 0x668b 0x66cb 1 / 0 action qualifier control register for output a aqctlb 0x660c 0x664c 0x668c 0x66cc 1 / 0 action qualifier control register for output b aqsfrc 0x660d 0x664d 0x668d 0x66cd 1 / 0 action qualifier software force register aqcsfrc 0x660e 0x664e 0x668e 0x66ce 1 / 1 action qualifier continuous s/w force register set dbctl 0x660f 0x664f 0x668f 0x66cf 1 / 1 dead-band generator control register dbred 0x6610 0x6650 0x6690 0x66d0 1 / 0 dead-band generator rising edge delay count register dbfed 0x6611 0x6651 0x6691 0x66d1 1 / 0 dead-band generator falling edge delay count register tzsel 0x6612 0x6652 0x6692 0x66d2 1 / 0 trip zone select register (1) tzctl 0x6614 0x6654 0x6694 0x66d4 1 / 0 trip zone control register (1) tzeint 0x6615 0x6655 0x6695 0x66d5 1 / 0 trip zone enable interrupt register (1) tzflg 0x6616 0x6656 0x6696 0x66d6 1 / 0 trip zone flag register tzclr 0x6617 0x6657 0x6697 0x66d7 1 / 0 trip zone clear register (1) tzfrc 0x6618 0x6658 0x6698 0x66d8 1 / 0 trip zone force register (1) etsel 0x6619 0x6659 0x6699 0x66d9 1 / 0 event trigger selection register etps 0x661a 0x665a 0x669a 0x66da 1 / 0 event trigger prescale register etflg 0x661b 0x665b 0x669b 0x66db 1 / 0 event trigger flag register etclr 0x661c 0x665c 0x669c 0x66dc 1 / 0 event trigger clear register etfrc 0x661d 0x665d 0x669d 0x66dd 1 / 0 event trigger force register pcctl 0x661e 0x665e 0x669e 0x66de 1 / 0 pwm chopper control register hrcnfg 0x6620 0x6660 0x66a0 0x66e0 1 / 0 hrpwm configuration register (1) (1) registers that are eallow protected. copyright ? 2006 ? 2010, texas instruments incorporated peripherals 47 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 4-5. epwm13 ? 16 control and status registers size (x16) / name epwm13 epwm14 epwm15 epwm16 description #shadow tbctl 0x6700 0x6740 0x6780 0x67c0 1 / 0 time base control register tbsts 0x6701 0x6741 0x6781 0x67c1 1 / 0 time base status register tbphshr 0x6702 0x6742 0x6782 0x67c2 1 / 0 time base phase hrpwm register tbphs 0x6703 0x6743 0x6783 0x67c3 1 / 0 time base phase register tbctr 0x6704 0x6744 0x6784 0x67c4 1 / 0 time base counter register tbprd 0x6705 0x6745 0x6785 0x67c5 1 / 1 time base period register set cmpctl 0x6707 0x6747 0x6787 0x67c7 1 / 0 counter compare control register cmpahr 0x6708 0x6748 0x6788 0x67c8 1 / 1 time base compare a hrpwm register cmpa 0x6709 0x6749 0x6789 0x67c9 1 / 1 counter compare a register set cmpb 0x670a 0x674a 0x678a 0x67ca 1 / 1 counter compare b register set aqctla 0x670b 0x674b 0x678b 0x67cb 1 / 0 action qualifier control register for output a aqctlb 0x670c 0x674c 0x678c 0x67cc 1 / 0 action qualifier control register for output b aqsfrc 0x670d 0x674d 0x678d 0x67cd 1 / 0 action qualifier software force register aqcsfrc 0x670e 0x674e 0x678e 0x67ce 1 / 1 action qualifier continuous s/w force register set dbctl 0x670f 0x674f 0x678f 0x67cf 1 / 1 dead-band generator control register dbred 0x6710 0x6750 0x6790 0x67d0 1 / 0 dead-band generator rising edge delay count register dbfed 0x6711 0x6751 0x6791 0x67d1 1 / 0 dead-band generator falling edge delay count register tzsel 0x6712 0x6752 0x6792 0x67d2 1 / 0 trip zone select register (1) tzctl 0x6714 0x6754 0x6794 0x67d4 1 / 0 trip zone control register (1) tzeint 0x6715 0x6755 0x6795 0x67d5 1 / 0 trip zone enable interrupt register (1) tzflg 0x6716 0x6756 0x6796 0x67d6 1 / 0 trip zone flag register tzclr 0x6717 0x6757 0x6797 0x67d7 1 / 0 trip zone clear register (1) tzfrc 0x6718 0x6758 0x6798 0x67d8 1 / 0 trip zone force register (1) etsel 0x6719 0x6759 0x6799 0x67d9 1 / 0 event trigger selection register etps 0x671a 0x675a 0x679a 0x67da 1 / 0 event trigger prescale register etflg 0x671b 0x675b 0x679b 0x67db 1 / 0 event trigger flag register etclr 0x671c 0x675c 0x679c 0x67dc 1 / 0 event trigger clear register etfrc 0x671d 0x675d 0x679d 0x67dd 1 / 0 event trigger force register pcctl 0x671e 0x675e 0x679e 0x67de 1 / 0 pwm chopper control register hrcnfg 0x6720 0x6760 0x67a0 0x67e0 1 / 0 hrpwm configuration register (1) (1) registers that are eallow protected. 48 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 figure 4-4. epwm sub-modules showing critical internal signal interconnections 4.3 hi-resolution pwm (hrpwm) the hrpwm module offers pwm resolution (time granularity) which is significantly better than what can be achieved using conventionally derived digital pwm methods. the key points for the hrpwm module are: ? significantly extends the time resolution capabilities of conventionally derived digital pwm ? typically used when effective pwm resolution falls below ~ 9 ? 10 bits. this occurs at pwm frequencies greater than ~200 khz when using a cpu/system clock of 100 mhz. ? this capability can be utilized in both duty cycle and phase-shift control methods. ? finer time granularity control or edge positioning is controlled via extensions to the compare a and phase registers of the epwm module. ? hrpwm capabilities are offered only on the a signal path of an epwm module (i.e., on the epwmxa output). epwmxb output has conventional pwm capabilities. copyright ? 2006 ? 2010, texas instruments incorporated peripherals 49 submit documentation feedback product folder link(s): tms320f28044 ctr = prd tbprd shadow (16) tbprd active (16) counter up/down (16-bit) tbcnt active (16) tbctl[phsen] tbctl[swfsync] (software-forced sync) epwmxsynci ctr = zero ctr_dir ctr = cmpb disabled sync in/out select mux tbctl[syncosel] epwmxsynco tbphs active (24) 16 8 tbphshr (8) phase control time-base (tb) ctr = cmpa cmpa active (24) 16 cmpa shadow (24) action qualifier (aq) 8 16 counter compare (cc) cmpb active (16) ctr = cmpb cmpb shadow (16) cmpahr (8) epwma epwmb dead band (db) pwm chopper (pc) trip zone (tz) ctr = zero epwmxao epwmxbo epwmxtzint tz1 to tz6 hires pwm (hrpwm) ctr = prd ctr = zero ctr = cmpb ctr = cmpa ctr_dir event trigger and interrupt (et) epwmxint epwmxsoca epwmxsocb ctr = zero
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 4.4 enhanced analog-to-digital converter (adc) module a simplified functional block diagram of the adc module is shown in figure 4-5 . the adc module consists of a 12-bit adc with a built-in sample-and-hold (s/h) circuit. functions of the adc module include: ? 12-bit adc core with built-in s/h ? analog input: 0.0 v to 3.0 v (voltages above 3.0 v produce full-scale conversion results.) ? fast conversion rate: 80 ns at 25-mhz adc clock, 12.5 msps ? 16-channel, muxed inputs ? autosequencing capability provides up to 16 "autoconversions" in a single session. each conversion can be programmed to select any 1 of 16 input channels ? sequencer can be operated as two independent 8-state sequencers or as one large 16-state sequencer (i.e., two cascaded 8-state sequencers) ? sixteen result registers (individually addressable) to store conversion values ? the digital value of the input analog voltage is derived by: a. all fractional values are truncated. ? multiple triggers as sources for the start-of-conversion (soc) sequence ? s/w - software immediate start ? epwm start of conversion ? xint2 adc start of conversion ? flexible interrupt control allows interrupt request on every end-of-sequence (eos) or every other eos. ? sequencer can operate in "start/stop" mode, allowing multiple "time-sequenced triggers" to synchronize conversions. ? soca and socb triggers can operate independently in dual-sequencer mode. ? sample-and-hold (s/h) acquisition time window has separate prescale control. the adc module in the f28044 device has been enhanced to provide flexible interface to epwm peripherals. the adc interface is built around a fast, 12-bit adc module with a fast conversion rate of 80 ns at 25-mhz adc clock. the adc module has 16 channels, configurable as two independent 8-channel modules. the two independent 8-channel modules can be cascaded to form a 16-channel module. although there are multiple input channels and two sequencers, there is only one converter in the adc module. figure 4-5 shows the block diagram of the adc module. the two 8-channel modules have the capability to autosequence a series of conversions, each module has the choice of selecting any one of the respective eight channels available through an analog mux. in the cascaded mode, the autosequencer functions as a single 16-channel sequencer. on each sequencer, once the conversion is complete, the selected channel value is stored in its respective result register. autosequencing allows the system to convert the same channel multiple times, allowing the user to perform oversampling algorithms. this gives increased resolution over traditional single-sampled conversion results. 50 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 digital value  0, digital value  4096  input analog voltage  adclo 3 when input 0 v when 0 v < input < 3 v when input 3 v digital value  4095,
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 figure 4-5. block diagram of the adc module to obtain the specified accuracy of the adc, proper board layout is very critical. to the best extent possible, traces leading to the adcin pins should not run in close proximity to the digital signal paths. this is to minimize switching noise on the digital lines from getting coupled to the adc inputs. furthermore, proper isolation techniques must be used to isolate the adc module power pins (v dd1a18 , v dd2a18 , v dda2 , v ddaio ) from the digital supply. figure 4-6 shows the adc pin connections for the f28044 device. copyright ? 2006 ? 2010, texas instruments incorporated peripherals 51 submit documentation feedback product folder link(s): tms320f28044 result registers epwmsocb s/w adc control registers 70b7h 70b0h 70afh 70a8h result reg 15 result reg 8 result reg 7 result reg 1 result reg 0 12-bit adc module analog mux epwmsoca s/w gpio/xint2_ adcsoc adcina0 adcina7 adcinb0 adcinb7 system control block high-speed prescaler hspclk adcenclk dsp sysclkout s/h s/h halt sequencer 2 sequencer 1 soc soc
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com note 1. the adc registers are accessed at the sysclkout rate. the internal timing of the adc module is controlled by the high-speed peripheral clock (hspclk). 2. the behavior of the adc module based on the state of the adcenclk and halt signals is as follows: ? adcenclk: on reset, this signal will be low. while reset is active-low ( xrs) the clock to the register will still function. this is necessary to make sure all registers and modes go into their default reset state. the analog module, however, will be in a low-power inactive state. as soon as reset goes high, then the clock to the registers will be disabled. when the user sets the adcenclk signal high, then the clocks to the registers will be enabled and the analog module will be enabled. there will be a certain time delay (ms range) before the adc is stable and can be used. ? halt: this mode only affects the analog module. it does not affect the registers. in this mode, the adc module goes into low-power mode. this mode also will stop the clock to the cpu, which will stop the hspclk; therefore, the adc register logic will be turned off indirectly. figure 4-6 shows the adc pin-biasing for internal reference and figure 4-7 shows the adc pin-biasing for external reference. a. taiyo yuden lmk212bj225mg-t or equivalent b. external decoupling capacitors are recommended on all power pins. c. analog inputs must be driven from an operational amplifier that does not degrade the adc performance. figure 4-6. adc pin connections with internal reference 52 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 adcina[7:0]adcinb[7:0] adclo adcrefin adcresext adcrefp v dd1a18 v dd2a18 v ss1agnd v ss2agnd v ddaio v ssaio v dda2 v ssa2 adcrefm analog input 03 v with respect to adclo connect to analog ground adc analog power pin (1.8 v) adc analog power pin (1.8 v) adc analog power pin (3.3 v) adc analog i/o ground pin adc analog power pin (3.3 v) adcrefp and adcrefm should not be loaded by external circuitry adc analog ground pin adc external current bias resistor adc reference positive output adc reference medium output adc power adc analog and reference i/o power adc 16channel analog inputs float or connect to analog ground if internal reference is used adc analog ground pin adc analog ground pin 22 k 2.2 f (a) 2.2 f (a)
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 a. taiyo yuden lmk212bj225mg-t or equivalent b. external decoupling capacitors are recommended on all power pins. c. analog inputs must be driven from an operational amplifier that does not degrade the adc performance. d. external voltage on adcrefin is enabled by changing bits 15:14 in the adc reference select register depending on the voltage used on this pin. ti recommends ti part ref3020 or equivalent for 2.048-v generation. overall gain accuracy will be determined by accuracy of this voltage source. figure 4-7. adc pin connections with external reference note the temperature rating of any recommended component must match the rating of the end product. 4.4.1 adc connections if the adc is not used it is recommended that the connections for the analog power pins be kept even if the adc is not used. following is a summary of how the adc pins should be connected, if the adc is not used in an application: ? v dd1a18 /v dd2a18 ? connect to v dd ? v dda2 , v ddaio ? connect to v ddio ? v ss1agnd /v ss2agnd , v ssa2 , v ssaio ? connect to v ss ? adclo ? connect to v ss ? adcrefin ? connect to v ss ? adcrefp/adcrefm ? connect a 100 nf cap to v ss ? adcresext ? connect a 20-k ? resistor (very loose tolerance) to v ss . ? adcinan, adcinbn - connect to v ss when the adc is not used, be sure that the clock to the adc module is not turned on to realize power savings. when the adc module is used in an application, unused adc input pins should be connected to analog ground (v ss1agnd /v ss2agnd ) copyright ? 2006 ? 2010, texas instruments incorporated peripherals 53 submit documentation feedback product folder link(s): tms320f28044 adcina[7:0]adcinb[7:0] adclo adcrefin adc external current bias resistor adcresext adcrefp v dd1a18 v dd2a18 v ss1agnd v ss2agnd v ddaio v ssaio v dda2 v ssa2 adc reference positive output adcrefm adc reference medium output adc analog power adc analog and reference i/o power analog input 03 v with respect to adclo connect to analog ground adcrefp and adcrefm should not be loaded by external circuitry adc 16channel analog inputs connect to 1.500, 1.024, or 2.048v precision source (d) adc analog power pin (1.8 v) adc analog power pin (1.8 v) adc analog i/o ground pin adc analog power pin (3.3 v) adc analog ground pin adc analog ground pin adc analog ground pin adc analog power pin (3.3 v) 22 k 2.2 f (a) 2.2 f (a)
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com the adc operation is configured, controlled, and monitored by the registers listed in table 4-6 . table 4-6. adc registers (1) name address (1) address (2) size (x16) description adctrl1 0x7100 1 adc control register 1 adctrl2 0x7101 1 adc control register 2 adcmaxconv 0x7102 1 adc maximum conversion channels register adcchselseq1 0x7103 1 adc channel select sequencing control register 1 adcchselseq2 0x7104 1 adc channel select sequencing control register 2 adcchselseq3 0x7105 1 adc channel select sequencing control register 3 adcchselseq4 0x7106 1 adc channel select sequencing control register 4 adcaseqsr 0x7107 1 adc auto-sequence status register adcresult0 0x7108 0x0b00 1 adc conversion result buffer register 0 adcresult1 0x7109 0x0b01 1 adc conversion result buffer register 1 adcresult2 0x710a 0x0b02 1 adc conversion result buffer register 2 adcresult3 0x710b 0x0b03 1 adc conversion result buffer register 3 adcresult4 0x710c 0x0b04 1 adc conversion result buffer register 4 adcresult5 0x710d 0x0b05 1 adc conversion result buffer register 5 adcresult6 0x710e 0x0b06 1 adc conversion result buffer register 6 adcresult7 0x710f 0x0b07 1 adc conversion result buffer register 7 adcresult8 0x7110 0x0b08 1 adc conversion result buffer register 8 adcresult9 0x7111 0x0b09 1 adc conversion result buffer register 9 adcresult10 0x7112 0x0b0a 1 adc conversion result buffer register 10 adcresult11 0x7113 0x0b0b 1 adc conversion result buffer register 11 adcresult12 0x7114 0x0b0c 1 adc conversion result buffer register 12 adcresult13 0x7115 0x0b0d 1 adc conversion result buffer register 13 adcresult14 0x7116 0x0b0e 1 adc conversion result buffer register 14 adcresult15 0x7117 0x0b0f 1 adc conversion result buffer register 15 adctrl3 0x7118 1 adc control register 3 adcst 0x7119 1 adc status register 0x711a ? reserved 2 reserved 0x711b adcrefsel 0x711c 1 adc reference select register adcofftrim 0x711d 1 adc offset trim register 0x711e ? reserved 2 reserved 0x711f (1) the registers in this column are peripheral frame 2 registers. (2) the adc result registers are dual mapped in the f28044 dsp. locations in peripheral frame 2 (0x7108 ? 0x7117) are 2 wait-states and left justified. locations in peripheral frame 0 space (0x0b00 ? 0x0b0f) are 0 wait sates and right justified. during high speed/continuous conversion use of the adc, use the 0 wait-state locations for fast transfer of adc results to user memory. 54 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 4.5 serial communications interface (sci) module (sci-a) the f28044 device includes a serial communications interface (sci) module. the sci module supports digital communications between the cpu and other asynchronous peripherals that use the standard non-return-to-zero (nrz) format. the sci receiver and transmitter are double-buffered, and each has its own separate enable and interrupt bits. both can be operated independently or simultaneously in the full-duplex mode. to ensure data integrity, the sci checks received data for break detection, parity, overrun, and framing errors. the bit rate is programmable to over 65000 different speeds through a 16-bit baud-select register. features of each sci module include: ? two external pins: ? scitxd: sci transmit-output pin ? scirxd: sci receive-input pin note: both pins can be used as gpio if not used for sci. ? baud rate programmable to 64k different rates: ? data-word format ? one start bit ? data-word length programmable from one to eight bits ? optional even/odd/no parity bit ? one or two stop bits ? four error-detection flags: parity, overrun, framing, and break detection ? two wake-up multiprocessor modes: idle-line and address bit ? half- or full-duplex operation ? double-buffered receive and transmit functions ? transmitter and receiver operations can be accomplished through interrupt-driven or polled algorithms with status flags. ? transmitter: txrdy flag (transmitter-buffer register is ready to receive another character) and tx empty flag (transmitter-shift register is empty) ? receiver: rxrdy flag (receiver-buffer register is ready to receive another character), brkdt flag (break condition occurred), and rx error flag (monitoring four interrupt conditions) ? separate enable bits for transmitter and receiver interrupts (except brkdt) ? ? nrz (non-return-to-zero) format ? ten sci module control registers located in the control register frame beginning at address 7050h note all registers in this module are 8-bit registers that are connected to peripheral frame 2. when a register is accessed, the register data is in the lower byte (7 ? 0), and the upper byte (15 ? 8) is read as zeros. writing to the upper byte has no effect. enhanced features: ? auto baud-detect hardware logic ? 16-level transmit/receive fifo copyright ? 2006 ? 2010, texas instruments incorporated peripherals 55 submit documentation feedback product folder link(s): tms320f28044 baud rate = lspclk 16 lspclk (brr  1) * 8 when brr 0 baud rate = when brr = 0 max bit rate  100 mhz 16  6.25  10 6 b  s
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com the sci port operation is configured and controlled by the registers listed in table 4-7 . table 4-7. sci-a registers (1) name address size (x16) description sciccra 0x7050 1 sci-a communications control register scictl1a 0x7051 1 sci-a control register 1 scihbauda 0x7052 1 sci-a baud register, high bits scilbauda 0x7053 1 sci-a baud register, low bits scictl2a 0x7054 1 sci-a control register 2 scirxsta 0x7055 1 sci-a receive status register scirxemua 0x7056 1 sci-a receive emulation data buffer register scirxbufa 0x7057 1 sci-a receive data buffer register scitxbufa 0x7059 1 sci-a transmit data buffer register scifftxa (2) 0x705a 1 sci-a fifo transmit register sciffrxa (2) 0x705b 1 sci-a fifo receive register sciffcta (2) 0x705c 1 sci-a fifo control register scipria 0x705f 1 sci-a priority control register (1) registers in this table are mapped to peripheral frame 2 space. this space only allows 16-bit accesses. 32-bit accesses produce undefined results. (2) these registers are new registers for the fifo mode. 56 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 figure 4-8 shows the sci module block diagram. figure 4-8. serial communications interface (sci) module block diagram copyright ? 2006 ? 2010, texas instruments incorporated peripherals 57 submit documentation feedback product folder link(s): tms320f28044 lspclk frame format and mode even/odd enable parity 8 scirxd scirxst.1 txena rxwake scitxd sciccr.6 sciccr.5 rxshf register scitxd txshf register wut scictl1.3 txwake 1 baud rate msbyte register baud rate lsbyte register scihbaud. 15 - 8 scilbaud. 7 - 0 tx fifo interrupts rxena scictl1.0 rx fifo interrupts scictl1.1 scirxd rx err int ena scictl1.6 rx error pe fe oe rx error scirxst.7 scirxst.4 - 2 8 scitxbuf.7-0 tx fifo registers transmitter-data buffer register 8 sciffena tx fifo _15 - - - - - tx fifo _1 tx fifo _0 scifftx.14 scirxbuf.7-0 rx fifo registers receive-data buffer register scirxbuf.7-0 8 sciffrx.15 rxffovf rx fifo _0 - - - - - rx fifo _1 rx fifo _15 sci tx interrupt select logic tx empty scictl2.6 txint txrdy scictl2.0 tx int ena scictl2.7 to cpu autobaud detect logic tx interrupt logic rx interrupt logic sci rx interrupt select logic rxrdy scirxst.6 brkdt scirxst.5 rx/bk int ena scictl2.1 rxint to cpu
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 4.6 serial peripheral interface (spi) module (spi-a) the f28044 device includes the four-pin serial peripheral interface (spi) module. the spi is a high-speed, synchronous serial i/o port that allows a serial bit stream of programmed length (one to sixteen bits) to be shifted into and out of the device at a programmable bit-transfer rate. normally, the spi is used for communications between the dsp controller and external peripherals or another processor. typical applications include external i/o or peripheral expansion through devices such as shift registers, display drivers, and adcs. multidevice communications are supported by the master/slave operation of the spi. the spi module features include: ? four external pins: ? spisomi: spi slave-output/master-input pin ? spisimo: spi slave-input/master-output pin ? spiste: spi slave transmit-enable pin ? spiclk: spi serial-clock pin note: all four pins can be used as gpio, if the spi module is not used. ? two operational modes: master and slave baud rate: 125 different programmable rates. ? data word length: one to sixteen data bits ? four clocking schemes (controlled by clock polarity and clock phase bits) include: ? falling edge without phase delay: spiclk active-high. spi transmits data on the falling edge of the spiclk signal and receives data on the rising edge of the spiclk signal. ? falling edge with phase delay: spiclk active-high. spi transmits data one half-cycle ahead of the falling edge of the spiclk signal and receives data on the falling edge of the spiclk signal. ? rising edge without phase delay: spiclk inactive-low. spi transmits data on the rising edge of the spiclk signal and receives data on the falling edge of the spiclk signal. ? rising edge with phase delay: spiclk inactive-low. spi transmits data one half-cycle ahead of the falling edge of the spiclk signal and receives data on the rising edge of the spiclk signal. ? simultaneous receive and transmit operation (transmit function can be disabled in software) ? transmitter and receiver operations are accomplished through either interrupt-driven or polled algorithms. ? nine spi module control registers: located in control register frame beginning at address 7040h. note all registers in this module are 16-bit registers that are connected to peripheral frame 2. when a register is accessed, the register data is in the lower byte (7 ? 0), and the upper byte (15 ? 8) is read as zeros. writing to the upper byte has no effect. enhanced feature: ? 16-level transmit/receive fifo ? delayed transmit control 58 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 baud rate = lspclk 4 lspclk (spibrr  1) when spibrr = 3 to 127 baud rate = when spibrr = 0,1, 2
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 the spi port operation is configured and controlled by the registers listed in table 4-8 . table 4-8. spi-a registers name address size (x16) description (1) spiccr 0x7040 1 spi-a configuration control register spictl 0x7041 1 spi-a operation control register spists 0x7042 1 spi-a status register spibrr 0x7044 1 spi-a baud rate register spirxemu 0x7046 1 spi-a receive emulation buffer register spirxbuf 0x7047 1 spi-a serial input buffer register spitxbuf 0x7048 1 spi-a serial output buffer register spidat 0x7049 1 spi-a serial data register spifftx 0x704a 1 spi-a fifo transmit register spiffrx 0x704b 1 spi-a fifo receive register spiffct 0x704c 1 spi-a fifo control register spipri 0x704f 1 spi-a priority control register (1) registers in this table are mapped to peripheral frame 2. this space only allows 16-bit accesses. 32-bit accesses produce undefined results. copyright ? 2006 ? 2010, texas instruments incorporated peripherals 59 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com figure 4-9 is a block diagram of the spi in slave mode. a. spiste is driven low by the master for a slave device. figure 4-9. spi module block diagram (slave mode) 60 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 s s lspclk 4 5 6 1 2 3 0 0 1 2 3 spi bit rate state control spiccr.3 - 0 spibrr.6 - 0 clock polarity spiccr.6 clock phase spictl.3 talk spictl.1 m s m m s master/slave spictl.2 spi char spisimo spisomi spiclk sw2 s m m s sw3 to cpu m sw1 spidat.15 - 0 16 16 spitxint tx fifo interrupt rx fifo interrupt spiste (a) rx fifo registers spirxbuf spifftx.14 spiffena rx fifo _15 - - - - - rx fifo _1 rx fifo _0 tx fifo registers spitxbuf - - - - - tx fifo _15 tx fifo _0 tx fifo _1 16 spitxbuf buffer register spirxbuf buffer register spictl.0 spi int ena spi int flag spists.6 receiver overrun flag overrun int ena spists.7 spictl.4 spiint/spirxint rx interrupt logic tx interrupt logic spiffovf flag spiffrx.15 spidat data register 16
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 4.7 inter-integrated circuit (i2c) the f28044 device contains one i2c serial port. figure 4-10 shows how the i2c peripheral module interfaces within the f28044 device. the i2c module has the following features: ? compliance with the philips semiconductors i2c-bus specification (version 2.1): ? support for 1-bit to 8-bit format transfers ? 7-bit and 10-bit addressing modes ? general call ? start byte mode ? support for multiple master-transmitters and slave-receivers ? support for multiple slave-transmitters and master-receivers ? combined master transmit/receive and receive/transmit mode ? data transfer rate from 10 kbps up to 400 kbps (i2c fast-mode rate) ? one 16-word receive fifo and one 16-word transmit fifo ? one interrupt that can be used by the cpu. this interrupt can be generated as a result of one of the following conditions: ? transmit-data ready ? receive-data ready ? register-access ready ? no-acknowledgment received ? arbitration lost ? stop condition detected ? addressed as slave ? an additional interrupt that can be used by the cpu when in fifo mode ? module enable/disable capability ? free data format mode copyright ? 2006 ? 2010, texas instruments incorporated peripherals 61 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com a. the i2c registers are accessed at the sysclkout rate. the internal timing and signal waveforms of the i2c port are also at the sysclkout rate. b. the clock enable bit (i2caenclk) in the pclkcro register turns off the clock to the i2c port for low power operation. upon reset, i2caenclk is clear, which indicates the peripheral internal clocks are off. figure 4-10. i2c peripheral module interfaces the registers in table 4-9 configure and control the i2c port operation. table 4-9. i2c-a registers name address description i2coar 0x7900 i2c own address register i2cier 0x7901 i2c interrupt enable register i2cstr 0x7902 i2c status register i2cclkl 0x7903 ic clock low-time divider register i2cclkh 0x7904 i2c clock high-time divider register i2ccnt 0x7905 i2c data count register i2cdrr 0x7906 i2c data receive register i2csar 0x7907 i2c slave address register i2cdxr 0x7908 i2c data transmit register i2cmdr 0x7909 i2c mode register i2cisrc 0x790a i2c interrupt source register i2cpsc 0x790c i2c prescaler register i2cfftx 0x7920 i2c fifo transmit register i2cffrx 0x7921 i2c fifo receive register i2crsr - i2c receive shift register (not accessible to the cpu) i2cxsr - i2c transmit shift register (not accessible to the cpu) 62 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 sysrs sysclkout control i2cint1a i2cint2a c28x cpu gpio mux peripheral bus i c-a 2 system control block i2caenclk pie block sdaa scla data[16] data[16] addr[16]
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 4.8 gpio mux on the 280x, the gpio mux can multiplex up to three independent peripheral signals on a single gpio pin in addition to providing individual pin bit-banging io capability. the gpio mux block diagram per pin is shown in figure 4-11 . because of the open drain capabilities of the i2c pins, the gpio mux block diagram for these pins differ. see the tms320x280x, 2801x, 2804x dsp system control and interrupts reference guide (literature number spru712 ) for details. a. x stands for the port, either a or b. for example, gpxdir refers to either the gpadir and gpbdir register depending on the particular gpio pin selected. b. gpxdat latch/read are accessed at the same memory location. figure 4-11. gpio mux block diagram copyright ? 2006 ? 2010, texas instruments incorporated peripherals 63 submit documentation feedback product folder link(s): tms320f28044 gpxdat (read) input qualification gpxmux1/2 high-impedance output control gpiox pin xrs 0 = input, 1 = output low-power modes block 01 10 11 01 10 11 01 10 11 gpxpud internal pullup = default at reset external interrupt mux peripheral 3 input peripheral 3 output enable peripheral 2 output enable peripheral 1 output enable peripheral 3 output peripheral 2 output peripheral 1 output peripheral 2 input peripheral 1 input n/c gpxdir (latch) gpxdat (latch) asynchronous path asynchronous path lpmcr0 gpiolmpsel gpxctrl gpxqsel1/2 gpioxnmisel gpioxint2sel gpioxint1sel gpxset gpxclear gpxtoggle 00 00 00 pie
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com the f28044 supports 34 gpio pins. the gpio control and data registers are mapped to peripheral frame 1 to enable 32-bit operations on the registers (along with 16-bit operations). table 4-10 shows the gpio register mapping. table 4-10. gpio registers name address size (x16) description gpio control registers (eallow protected) gpactrl 0x6f80 2 gpio a control register (gpio0 to 31) gpaqsel1 0x6f82 2 gpio a qualifier select 1 register (gpio0 to 15) gpaqsel2 0x6f84 2 gpio a qualifier select 2 register (gpio16 to 31) gpamux1 0x6f86 2 gpio a mux 1 register (gpio0 to 15) gpamux2 0x6f88 2 gpio a mux 2 register (gpio16 to 31) gpadir 0x6f8a 2 gpio a direction register (gpio0 to 31) gpapud 0x6f8c 2 gpio a pull up disable register (gpio0 to 31) gpamcfg 0x6f8e 2 gpio a miscellaneous configuration register (gpio0 to 31) gpbctrl 0x6f90 2 gpio b control register (gpio32 to 35) gpbqsel1 0x6f92 2 gpio b qualifier select 1 register (gpio32 to 35) gpbqsel2 0x6f94 2 reserved gpbmux1 0x6f96 2 gpio b mux 1 register (gpio32 to 35) gpbmux2 0x6f98 2 reserved gpbdir 0x6f9a 2 gpio b direction register (gpio32 to 35) gpbpud 0x6f9c 2 gpio b pull up disable register (gpio32 to 35) 0x6f9e ? reserved 2 reserved 0x6f9f 0x6fa0 ? reserved 32 reserved 0x6fbf gpio data registers (not eallow protected) gpadat 0x6fc0 2 gpio data register (gpio0 to 31) gpaset 0x6fc2 2 gpio data set register (gpio0 to 31) gpaclear 0x6fc4 2 gpio data clear register (gpio0 to 31) gpatoggle 0x6fc6 2 gpio data toggle register (gpio0 to 31) gpbdat 0x6fc8 2 gpio data register (gpio32 to 35) gpbset 0x6fca 2 gpio data set register (gpio32 to 35) gpbclear 0x6fcc 2 gpio data clear register (gpio32 to 35) gpbtoggle 0x6fce 2 gpio data toggle register (gpio32 to 35) 0x6fd0 ? reserved 16 reserved 0x6fdf gpio interrupt and low power modes select registers (eallow protected) gpioxint1sel 0x6fe0 1 xint1 gpio input select register (gpio0 to 31) gpioxint2sel 0x6fe1 1 xint2 gpio input select register (gpio0 to 31) gpioxnmisel 0x6fe2 1 xnmi gpio input select register (gpio0 to 31) 0x6fe3 ? reserved 5 reserved 0x6fe7 gpiolpmsel 0x6fe8 2 lpm gpio select register (gpio0 to 31) 0x6fea ? reserved 22 reserved 0x6fff 64 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 4-11. f28044 gpio mux table peripheral default selection 1 (2) at reset peripheral peripheral (gpxmux1 bits = 0,1) gpxmux1/2 (1) primary i/o selection 2 (2) selection 3 (2) register bits function gpamcfg(epwmmode) (3) (gpxmux1/2 bits = 1,0) (gpxmux1/2 bits = 1,1) (gpxmux1/2 bits = 0,0) 0,0 (4) 1,1 gpamux1 1 ? 0 gpio0 epwm1a (o) epwm1a (o) reserved reserved 3 ? 2 gpio1 epwm1b (o) epwm2a (o) reserved reserved 5 ? 4 gpio2 epwm2a (o) epwm3a (o) reserved reserved 7 ? 6 gpio3 epwm2b (o) epwm4a (o) reserved reserved 9 ? 8 gpio4 epwm3a (o) epwm5a (o) reserved reserved 11 ? 10 gpio5 epwm3b (o) epwm6a (o) reserved reserved 13 ? 12 gpio6 epwm4a (o) epwm7a (o) epwmsynci (i) epwmsynco (o) 15 ? 14 gpio7 epwm4b (o) epwm8a (o) reserved reserved 17 ? 16 gpio8 epwm5a (o) epwm9a (o) reserved adcsocao (o) 19 ? 18 gpio9 epwm5b (o) epwm10a (o) reserved reserved 21 ? 20 gpio10 epwm6a (o) epwm11a (o) reserved adcsocbo (o) 23 ? 22 gpio11 epwm6b (o) epwm12a (o) reserved reserved 25 ? 24 gpio12 tz1 (i) epwm13a (o) reserved reserved 27 ? 26 gpio13 tz2 (i) epwm14a (o) reserved reserved 29 ? 28 gpio14 tz3 (i) epwm15a (o) reserved reserved 31 ? 30 gpio15 tz4 (i) epwm16a (o) reserved reserved gpamux2 1 ? 0 gpio16 spisimoa (i/o) reserved tz5 (i) 3 ? 2 gpio17 spisomia (i/o) reserved tz6 (i) 5 ? 4 gpio18 spiclka (i/o) reserved tz1 (i) 7 ? 6 gpio19 spistea (i/o) reserved tz2 (i) 9 ? 8 gpio20 reserved reserved reserved 11 ? 10 gpio21 reserved reserved reserved 13 ? 12 gpio22 reserved reserved reserved 15 ? 14 gpio23 reserved reserved reserved 17 ? 16 gpio24 reserved reserved reserved 19 ? 18 gpio25 reserved reserved reserved 21 ? 20 gpio26 reserved reserved reserved 23 ? 22 gpio27 reserved reserved reserved 25 ? 24 gpio28 scirxda (i) reserved tz5 (i) 27 ? 26 gpio29 scitxda (o) reserved tz6 (i) 29 ? 28 gpio30 reserved reserved tz3 (i) 31 ? 30 gpio31 reserved reserved tz4 (i) gpbmux1 1 ? 0 gpio32 sdaa (i/oc) epwmsynci (i) adcsocao (o) 3 ? 2 gpio33 scla (i/oc ) epwmsynco (o) adcsocbo (o) 5 ? 4 gpio34 reserved reserved reserved (1) gpxmux1/2 refers to the appropriate mux register for the pin; gpamux1, gpamux2 or gpbmux1. (2) the word " reserved " means that there is no peripheral assigned to this gpxmux1/2 register setting. should it be selected, the state of the pin will be undefined and the pin may be driven. this selection is a reserved configuration for future expansion. (3) the options gpamcfg(epwmmode) = 0, 1 and 1, 0 are reserved. (4) this is the default configuration upon reset. copyright ? 2006 ? 2010, texas instruments incorporated peripherals 65 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com the user can select the type of input qualification for each gpio pin via the gpxqsel1/2 registers from four choices: ? synchronization to sysclkout only (gpxqsel1/2 = 0,0): this is the default mode of all gpio pins at reset and it simply synchronizes the input signal to the system clock (sysclkout). ? qualification using sampling window (gpxqsel1/2 = 0,1 and 1,0): in this mode the input signal, after synchronization to the system clock (sysclkout), is qualified by a specified number of cycles before the input is allowed to change. figure 4-12. qualification using sampling window ? the sampling period is specified by the qualprd bits in the gpxctrl register and is configurable in groups of 8 signals. it specifies a multiple of sysclkout cycles for sampling the input signal. the sampling window is either 3-samples or 6-samples wide and the output is only changed when all samples are the same (all 0s or all 1s) as shown in figure 6-8 (for 6 sample mode). ? no synchronization (gpxqsel1/2 = 1,1): this mode is used for peripherals where synchronization is not required (synchronization is performed within the peripheral). due to the multi-level multiplexing that is required on the f28044 device, there may be cases where a peripheral input signal can be mapped to more then one gpio pin. also, when an input signal is not selected, the input signal will default to either a 0 or 1 state, depending on the peripheral. 66 peripherals copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 gpyctrl reg sync sysclkout qualification input signal qualified by 3 or 6 samples gpiox time between samples gpxqsel number of samples
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 5 device support texas instruments (ti) offers an extensive line of development tools for the c28x ? generation of dsps, including tools to evaluate the performance of the processors, generate code, develop algorithm implementations, and fully integrate and debug software and hardware modules. the following products support development of 280x-based applications: software development tools ? code composer studio ? integrated development environment (ide) ? c/c++ compiler ? code generation tools ? assembler/linker ? cycle accurate simulator ? application algorithms ? sample applications code hardware development tools ? 2808 ezdsp ? ? jtag-based emulators - spi515, xds510pp, xds510pp plus, xds510usb ? ? universal 5-v dc power supply ? documentation and cables 5.1 device and development support tool nomenclature to designate the stages in the product development cycle, ti assigns prefixes to the part numbers of all tms320 ? dsp devices and support tools. each tms320 ? dsp commercial family member has one of three prefixes: tmx, tmp, or tms (e.g., tms 320f28044). texas instruments recommends two of three possible prefix designators for its support tools: tmdx and tmds. these prefixes represent evolutionary stages of product development from engineering prototypes (tmx/tmdx) through fully qualified production devices/tools (tms/tmds). device development evolutionary flow: tmx experimental device that is not necessarily representative of the final device's electrical specifications tmp final silicon die that conforms to the device's electrical specifications but has not completed quality and reliability verification tms fully qualified production device support tool development evolutionary flow: tmdx development-support product that has not yet completed texas instruments internal qualification testing tmds fully qualified development-support product tmx and tmp devices and tmdx development-support tools are shipped against the following disclaimer: "developmental product is intended for internal evaluation purposes." tms devices and tmds development-support tools have been characterized fully, and the quality and reliability of the device have been demonstrated fully. ti's standard warranty applies. copyright ? 2006 ? 2010, texas instruments incorporated device support 67 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com predictions show that prototype devices (tmx or tmp) have a greater failure rate than the standard production devices. texas instruments recommends that these devices not be used in any production system because their expected end-use failure rate still is undefined. only qualified production devices are to be used. ti device nomenclature also includes a suffix with the device family name. this suffix indicates the package type (for example, ggm) and temperature range (for example, a). figure 5-1 provides a legend for reading the complete device name for any family member. figure 5-1. example of tms320x280x device nomenclature 68 device support copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 prefix tms 320 f 28044 pz tmx = experimental device tmp = prototype device tms = qualified device device family 320 = tms320 dsp family tm technology package type pz = 100-pin low-profile quad flatpack (lqfp) ggm = 100-ball ball grid array (bga) zgm = 100-ball lead-free bga f = flash eeprom (1.8-v core/3.3-v i/o) device28044 a a = ?40 ?40c to 125c q = ?40c to 125c (q100 fault grading) c to 85 c s = temperture range
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 5.2 documentation support extensive documentation supports all of the tms320 ? dsp family generations of devices from product announcement through applications development. the types of documentation available include: data sheets and data manuals, with design specifications; and hardware and software applications. table 5-1 shows the peripheral reference guides appropriate for use with the device(s) in this data manual. (tms320f28044 device reference guides are applicable to the ucd9501 device as well.) see the tms320x28xx, 28xxx dsp peripheral reference guide (literature number spru566 ) for more information on types of peripherals. table 5-1. tms320f28044 peripheral selection guide literature peripheral guide type (1) 28044 number tms320x280x, 2801x, 2804x dsp system control and interrupts spru712 ? x tms320x280x, 2801x, 2804x dsp analog-to-digital converter (adc) spru716 1 x tms320x280x, 2801x, 2804x serial communications interface (sci) sprufk7 0 x tms320x280x, 2801x, 2804x serial peripheral interface sprug72 0 x tms320x280x, 2801x, 2804x boot rom spru722 ? x tms320x280x, 2801x, 2804x enhanced pulse width modulator (epwm) spru791 0 x module tms320x280x, 2801x, 2804x inter-integrated circuit (i2c) spru721 0 x tms320x280x, 2801x, 2804x high resolution pulse width modulator spru924 0 x (1) a type change represents a major functional feature difference in a peripheral module. within a peripheral type, there may be minor differences between devices that do not affect the basic functionality of the module. these device-specific differences are listed in the tms320x28xx, 28xxx dsp peripheral reference guide (literature number spru566 ) and in the peripheral reference guides. the following documents are available on the ti website ( www.ti.com ): errata sprz255 tms320f28044 dsp silicon errata describes known advisories on silicon and provides workarounds. cpu user's guides spru430 tms320c28x cpu and instruction set reference guide describes the central processing unit (cpu) and the assembly language instructions of the tms320c28x fixed-point digital signal processors (dsps). it also describes emulation features available on these dsps. spru712 tms320x280x, 2801x, 2804x dsp system control and interrupts reference guide describes the various interrupts and system control features of the 280x digital signal processors (dsps). peripheral guides spru566 tms320x28xx, 28xxx dsp peripheral reference guide describes the peripheral reference guides of the 28x digital signal processors (dsps). spru716 tms320x280x, 2801x, 2804x dsp analog-to-digital converter (adc) reference guide describes how to configure and use the on-chip adc module, which is a 12-bit pipelined adc. spru791 tms320x280x, 2801x, 2804x enhanced pulse width modulator (epwm) module reference guide describes the main areas of the enhanced pulse width modulator that include digital motor control, switch mode power supply control, ups (uninterruptible power supplies), and other forms of power conversion spru790 tms320x280x, 2801x, 2804x enhanced quadrature encoder pulse (eqep) module reference guide describes the eqep module, which is used for interfacing with a linear or rotary incremental encoder to get position, direction, and speed information from a rotating copyright ? 2006 ? 2010, texas instruments incorporated device support 69 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com machine in high performance motion and position control systems. it includes the module description and registers spru807 tms320x280x, 2801x, 2804x enhanced capture (ecap) module reference guide describes the enhanced capture module. it includes the module description and registers. spru924 tms320x280x, 2801x, 2804x high-resolution pulse width modulator reference guide describes the operation of the high-resolution extension to the pulse width modulator (hrpwm) spru074 tms320x281x enhanced controller area network (ecan) reference guide describes the ecan that uses established protocol to communicate serially with other controllers in electrically noisy environments. spru051 tms320x281x serial communications interface (sci) reference guide describes the sci, which is a two-wire asynchronous serial port, commonly known as a uart. the sci modules support digital communications between the cpu and other asynchronous peripherals that use the standard non-return-to-zero (nrz) format. spru059 tms320x281x serial peripheral interface reference guide describes the spi - a high-speed synchronous serial input/output (i/o) port - that allows a serial bit stream of programmed length (one to sixteen bits) to be shifted into and out of the device at a programmed bit-transfer rate. spru721 tms320x280x, 2801x, 2804x inter-integrated circuit (i2c) reference guide describes the features and operation of the inter-integrated circuit (i2c) module. spru722 tms320x280x, 2801x, 2804x boot rom reference guide describes the purpose and features of the bootloader (factory-programmed boot-loading software). it also describes other contents of the device on-chip boot rom and identifies where all of the information is located within that memory. sprufk7 tms320x280x, 2801x, 2804x serial communications interface (sci) reference guide describes the features and operation of the serial communication interface (sci) module that is available on the tms320x280x, 2801x, 2804x devices. sprug72 tms320x280x, 2801x, 2804x serial peripheral interface reference guide describes how the serial peripheral interface works. tools guides spru513 tms320c28x assembly language tools v5.0 user ' s guide describes the assembly language tools (assembler and other tools used to develop assembly language code), assembler directives, macros, common object file format, and symbolic debugging directives for the tms320c28x device. spru514 tms320c28x optimizing c/c++ compiler v5.0 user ' s guide describes the tms320c28x ? c/c++ compiler. this compiler accepts ansi standard c/c++ source code and produces tms320 dsp assembly language source code for the tms320c28x device. spru608 tms320c28x instruction set simulator technical overview describes the simulator, available within the code composer studio for tms320c2000 ide, that simulates the instruction set of the c28x ? core. spru625 tms320c28x dsp/bios 5.x application programming interface (api) reference guide describes development using dsp/bios. 70 device support copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 application reports and software key links include: 1. c2000 get started - www.ti.com/c2000getstarted 2. c2000 digital motor control software library - www.ti.com/c2000appsw 3. c2000 digital power supply software library - www.ti.com/dpslib 4. dsp power management reference designs - www.ti.com/dsppower spraaq7 tms320x281x to tms320x2833x or 2823x migration overview describes how to migrate from the 281x device design to 2833x or 2823x designs. spraaq8 tms320x280x to tms320x2833x or 2823x migration overview describes how to migrate from a 280x device design to 2833x or 2823x designs. spraan9 tms320c28x fpu primer provides an overview of the floating-point unit (fpu) in the tms320f28335, tms320f28334, and tms320f28332 digital signal controller (dsc) devices. spraam0 getting started with tms320c28x digital signal controllers is organized by development flow and functional areas to make your design effort as seamless as possible. tips on getting started with c28x ? dsp software and hardware development are provided to aid in your initial design and debug efforts. each section includes pointers to valuable information including technical documentation, software, and tools for use in each phase of design. spra958 running an application from internal flash memory on the tms320f28xxx dsp covers the requirements needed to properly configure application software for execution from on-chip flash memory. requirements for both dsp/bios ? and non-dsp/bios projects are presented. example code projects are included. spraa85 programming tms320x28xx and 28xxx peripherals in c/c++ explores a hardware abstraction layer implementation to make c/c++ coding easier on 28x dsps. this method is compared to traditional #define macros and topics of code efficiency and special case registers are also addressed. spraa88 using pwm output as a digital-to-analog converter on a tms320f280x digital signal controller presents a method for utilizing the on-chip pulse width modulated (pwm) signal generators on the tms320f280x family of digital signal controllers as a digital-to-analog converter (dac). spraa91 tms320f280x digital signal controller usb connectivity using the tusb3410 usb-to-uart bridge chip presents hardware connections as well as software preparation and operation of the development system using a simple communication echo program. spraah1 using the enhanced quadrature encoder pulse (eqep) module in tms320x280x, 28xxx as a dedicated capture provides a guide for the use of the eqep module as a dedicated capture unit and is applicable to the tms320x280x, 28xxx family of processors. spraai1 using the epwm module for 0% ? 100% duty cycle control provides a guide for the use of the epwm module to provide 0% to 100% duty cycle control and is applicable to the tms320x280x family of processors. spraad5 power line communication for lighting applications using binary phase shift keying (bpsk) with a single dsp controller presents a complete implementation of a power line modem following cea-709 protocol using a single dsp. spraad8 tms320x280x and tms320f2801x adc calibration describes a method for improving the absolute accuracy of the 12-bit adc found on the tms320x280x and tms320f2801x devices. inherent gain and offset errors affect the absolute accuracy of the adc. the methods described in this report can improve the absolute accuracy of the adc to levels copyright ? 2006 ? 2010, texas instruments incorporated device support 71 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com better than 0.5%. this application report has an option to download an example program that executes from ram on the f2808 ezdsp. spra820 online stack overflow detection on the tms320c28x dsp presents the methodology for online stack overflow detection on the tms320c28x ? dsp. c-source code is provided that contains functions for implementing the overflow detection on both dsp/bios ? and non-dsp/bios applications. spra806 an easy way of creating a c-callable assembly function for the tms320c28x dsp provides instructions and suggestions to configure the c compiler to assist with understanding of parameter-passing conventions and environments expected by the c compiler. software sprc191 download: c280x, c2801x c/c++ header files and peripheral examples bsdl models sprm246 f28044 ggm/zgm bsdl model sprm247 f28044 pz bsdl model ibis models sprm447 f28044 ggm ibis model sprm301 f28044 pz ibis model sprm446 f28044 zgm ibis model a series of dsp textbooks is published by prentice-hall and john wiley & sons to support digital signal processing research and education. the tms320 dsp newsletter, details on signal processing , is published quarterly and distributed to update tms320 dsp customers on product information. updated information on the tms320 dsp controllers can be found on the worldwide web at: http://www.ti.com . to send comments regarding this data manual (literature number sprs357 ), use the comments@books.sc.ti.com email address, which is a repository for feedback. for questions and support, contact the product information center listed at the http://www.ti.com/sc/docs/pic/home.htm site. 72 device support copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6 electrical specifications this section provides the absolute maximum ratings and the recommended operating conditions for the tms320f28044 dsp. 6.1 absolute maximum ratings (1) (2) unless otherwise noted, the list of absolute maximum ratings are specified over operating temperature ranges. supply voltage range, v ddio , v dd3vfl with respect to v ss ? 0.3 v to 4.6 v supply voltage range, v dda2 , v ddaio with respect to v ssa ? 0.3 v to 4.6 v supply voltage range, v dd with respect to v ss ? 0.3 v to 2.5 v supply voltage range, v dd1a18 , v dd2a18 with respect to v ssa ? 0.3 v to 2.5 v supply voltage range, v ssa2 , v ssaio , v ss1agnd , v ss2agnd with respect to v ss ? 0.3 v to 0.3 v input voltage range, v in ? 0.3 v to 4.6 v output voltage range, v o ? 0.3 v to 4.6 v input clamp current, i ik (v in < 0 or v in > v ddio ) (3) 20 ma output clamp current, i ok (v o < 0 or v o > v ddio ) 20 ma operating ambient temperature range, t a : a version (ggm, pz) (4) ? 40 c to 85 c junction temperature range, t j (4) ? 40 c to 150 c storage temperature range, t stg (4) ? 65 c to 150 c (1) stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under section 6.2 is not implied. exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. (2) all voltage values are with respect to v ss , unless otherwise noted. (3) continuous clamp current per pin is 2 ma. this includes the analog inputs which have an internal clamping circuit that clamps the voltage to a diode drop above v dda2 or below v ssa2 . (4) long-term high-temperature storage and/or extended use at maximum temperature conditions may result in a reduction of overall device life. for additional information, see ic package thermal metrics application report (literature number spra953 ) and reliability data for tms320lf24xx and tms320f28xx devices application report (literature number spra963 ) copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 73 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 6.2 recommended operating conditions over operating free-air temperature range (unless otherwise noted) min nom max unit device supply voltage, i/o, v ddio 3.14 3.3 3.47 v device supply voltage cpu, v dd 1.71 1.8 1.89 v supply ground, v ss , v ssio 0 v adc supply voltage (3.3 v), 3.14 3.3 3.47 v v dda2 , v ddaio adc supply voltage (1.8 v), 1.71 1.8 1.89 v v dd1a18 , v dd2a18 flash supply voltage, v dd3vfl 3.14 3.3 3.47 v device clock frequency (system 2 100 mhz clock), f sysclkout high-level input voltage, v ih all inputs except x1 2 v ddio + 0.3 v x1 0.7 * v dd ? 0.05 v dd low-level input voltage, v il all inputs except x1 v ss ? 0.3 0.8 v x1 0.3 * v dd + 0.05 all i/os except group 2 ? 4 ma high-level output source current, v oh = 2.4 v, i oh group 2 (1) ? 8 all i/os except group 2 4 ma low-level output sink current, v ol = v ol max, i ol group 2 (1) 8 ambient temperature, t a a version ? 40 85 c (1) group 2 pins are as follows: gpio28, gpio29, gpio30, gpio31, tdo, xclkout, emu0, and emu1 6.3 electrical characteristics over recommended operating conditions (unless otherwise noted) parameter test conditions min typ max unit i oh = i oh max 2.4 v oh high-level output voltage v i oh = 50 m a v ddio ? 0.2 v ol low-level output voltage i ol = i ol max 0.4 v pin with pullup v ddio = 3.3 v, v in = 0 v all i/os (including xrs) ? 80 ? 140 ? 190 enabled input current i il m a (low level) pin with pulldown v ddio = 3.3 v, v in = 0 v 2 enabled pin with pullup v ddio = 3.3 v, v in = v ddio 2 enabled input current pin with pulldown i ih v ddio = 3.3 v, v in = v ddio (f280x) 28 50 80 m a (high level) enabled pin with pulldown v ddio = 3.3 v, v in = v ddio (c280x) 80 140 190 enabled output current, pullup or i oz v o = v ddio or 0 v 2 m a pulldown disabled c i input capacitance 2 pf 74 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.4 current consumption table 6-1. tms320f28044 current consumption by power-supply pins at 100-mhz sysclkout i dd i ddio (1) i dd3vfl (2) i dda18 (3) i dda33 (4) mode test conditions typ (5) max (6) typ (5) max (6) typ max (6) typ (5) max (6) typ (5) max (6) the following peripheral clocks are enabled: ? epwm1-16 ? sci-a ? spi-a ? adc ? i 2 c all pwm pins are toggled operational at 100 khz. 205 ma 230 ma 10 ma 15 ma 35 ma 40 ma 30 ma 38 ma 1.5 ma 2 ma (flash) all i/o pins are left unconnected. data is continuously transmitted out of the sci-a port. the hardware multiplier is exercised. code is running out of flash with 3 wait-states. xclkout is turned off. flash is powered down. xclkout is turned off. the following peripheral clocks are enabled: idle 75 ma 90 ma 500 m a 2 ma 2 m a 10 m a 5 m a 50 m a 15 m a 30 m a ? sci-a ? spi-a ? i 2 c flash is powered down. standby 6 ma 12 ma 100 m a 500 m a 2 m a 10 m a 5 m a 50 m a 15 m a 30 m a peripheral clocks are off. flash is powered down. halt peripheral clocks are off. 70 m a 60 m a 120 m a 2 m a 10 m a 5 m a 50 m a 15 m a 30 m a input clock is disabled. (1) i ddio current is dependent on the electrical loading on the i/o pins. (2) the i dd3vfl current indicated in this table is the flash read-current and does not include additional current for erase/write operations. during flash programming, extra current is drawn from the v dd and v dd3vfl rails, as indicated in table 6-36 . if the user application involves on-board flash programming, this extra current must be taken into account while architecting the power-supply stage. (3) i dda18 includes current into v dd1a18 and v dd2a18 pins. in order to realize the i dda18 currents shown for idle, standby, and halt, clock to the adc module must be turned off explicitly by writing to the pclkcr0 register. (4) i dda33 includes current into v dda2 and v ddaio pins. (5) the typ numbers are applicable over room temperature and nominal voltage. (6) max numbers are at 85 c and max voltage. note the peripheral - i/o multiplexing implemented in the f28044 device prevents all available peripherals from being used at the same time. this is because more than one peripheral function may share an i/o pin. it is, however, possible to turn on the clocks to all the peripherals at the same time, although such a configuration is not useful. if this is done, the current drawn by the device will be more than the numbers specified in the current consumption tables. copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 75 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 6.4.1 reducing current consumption since each peripheral unit has an individual clock-enable bit, significant reduction in current consumption can be achieved by turning off the clock to any peripheral module that is not used in a given application. furthermore, any one of the three low-power modes could be taken advantage of to reduce the current consumption even further. table 6-2 indicates the typical reduction in current consumption achieved by turning off the clocks. table 6-2. typical current consumption by various peripherals (at 100 mhz) (1) peripheral i dd current module reduction (ma) (2) adc 8 (3) i 2 c 5 epwm 5 sci 4 spi 5 (1) all peripheral clocks are disabled upon reset. writing to/reading from peripheral registers is possible only after the peripheral clocks are turned on. (2) for peripherals with multiple instances, the current quoted is per module. for example, the 5 ma number quoted for epwm is for one epwm module. (3) this number represents the current drawn by the digital portion of the adc module. turning off the clock to the adc module results in the elimination of the current drawn by the analog portion of the adc (i dda18 ) as well. note i ddio current consumption is reduced by 15 ma (typical) when xclkout is turned off. note the baseline i dd current (current when the core is executing a dummy loop with no peripherals enabled) is 110 ma, typical. to arrive at the i dd current for a given application, the current-drawn by the peripherals (enabled by that application) must be added to the baseline i dd current. 76 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.5 emulator connection without signal buffering for the dsp figure 6-1 shows the connection between the dsp and jtag header for a single-processor configuration. if the distance between the jtag header and the dsp is greater than 6 inches, the emulation signals must be buffered. if the distance is less than 6 inches, buffering is typically not needed. figure 6-1 shows the simpler, no-buffering situation. for the pullup/pulldown resistor values, see the pin description section. figure 6-1. emulator connection without signal buffering for the dsp copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 77 submit documentation feedback product folder link(s): tms320f28044 6 inches or less emu0 emu0 pd gndgnd gnd gnd gnd 13 5 46 8 10 12 11 14 2 9 1 3 7 emu1 emu1 tms tms tdi tdi tdo tdo tck tcktck_ret dsp jtag header trst trst v ddio v ddio
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 6.6 timing parameter symbology timing parameter symbols used are created in accordance with jedec standard 100. to shorten the symbols, some of the pin names and other related terminology have been abbreviated as follows: lowercase subscripts and their letters and symbols and their meanings: meanings: a access time h high c cycle time (period) l low d delay time v valid unknown, changing, or don't care f fall time x level h hold time z high impedance r rise time su setup time t transition time v valid time w pulse duration (width) 6.6.1 general notes on timing parameters all output signals from the 28x devices (including xclkout) are derived from an internal clock such that all output transitions for a given half-cycle occur with a minimum of skewing relative to each other. the signal combinations shown in the following timing diagrams may not necessarily represent actual cycles. for actual cycle examples, see the appropriate cycle description section of this document. 78 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.6.2 test load circuit this test load circuit is used to measure all switching characteristics provided in this document. a. input requirements in this data sheet are tested with an input slew rate of < 4 volts per nanosecond (4 v/ns) at the device pin. b. the data sheet provides timing at the device pin. for output timing analysis, the tester pin electronics and its transmission line effects must be taken into account. a transmission line with a delay of 2 ns or longer can be used to produce the desired transmission line effect. the transmission line is intended as a load only. it is not necessary to add or subtract the transmission line delay (2 ns or longer) from the data sheet timing. figure 6-2. 3.3-v test load circuit 6.6.3 device clock table this section provides the timing requirements and switching characteristics for the various clock options available on the f28044 dsp. table 6-3 lists the cycle times of various clocks. table 6-3. tms320x280x clock table and nomenclature min nom max unit t c(osc) , cycle time 28.6 50 ns on-chip oscillator clock frequency 20 35 mhz t c(ci) , cycle time 10 250 ns xclkin (1) frequency 4 100 mhz t c(sco) , cycle time 10 500 ns sysclkout frequency 2 100 mhz t c(xco) , cycle time 10 2000 ns xclkout frequency 0.5 100 mhz t c(hco) , cycle time 10 20 (3) ns hspclk (2) frequency 50 (3) 100 mhz t c(lco) , cycle time 10 40 (3) ns lspclk (2) frequency 25 (3) 100 mhz t c(adcclk) , cycle time 80 ns adc clock frequency 12.5 mhz (1) this also applies to the x1 pin if a 1.8-v oscillator is used. (2) lower lspclk and hspclk will reduce device power consumption. (3) this is the default reset value if sysclkout = 100 mhz. copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 79 submit documentation feedback product folder link(s): tms320f28044 transmission line 4.0 pf 1.85 pf z0 = 50 w (a) tester pin electronics data sheet timing reference point outputunder test 42 w 3.5 nh device pin (b)
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 6.7 clock requirements and characteristics table 6-4. input clock frequency parameter min typ max unit resonator (x1/x2) 20 35 f x input clock frequency crystal (x1/x2) 20 35 mhz external oscillator/clock source (xclkin or x1 pin) 4 100 f l limp mode sysclkout frequency range (with /2 enabled) 1 ? 5 mhz table 6-5. xclkin (1) timing requirements - pll enabled no. min max unit c8 t c(ci) cycle time, xclkin 33.3 200 ns c9 t f(ci) fall time, xclkin 6 ns c10 t r(ci) rise time, xclkin 6 ns c11 t w(cil) pulse duration, xclkin low as a percentage of t c(oscclk) 45 55 % c12 t w(cih) pulse duration, xclkin high as a percentage of t c(oscclk) 45 55 % (1) this applies to the x1 pin also. table 6-6. xclkin (1) timing requirements - pll disabled no. min max unit c8 t c(ci) cycle time, xclkin 10 250 ns c9 t f(ci) fall time, xclkin up to 20 mhz 6 ns 20 mhz to 100 mhz 2 ns c10 t r(ci) rise time, xclkin up to 20 mhz 6 ns 20 mhz to 100 mhz 2 ns c11 t w(cil) pulse duration, xclkin low as a percentage of t c(oscclk) 45 55 % c12 t w(cih) pulse duration, xclkin high as a percentage of t c(oscclk) 45 55 % (1) this applies to the x1 pin also. the possible configuration modes are shown in table 3-13 . table 6-7. xclkout switching characteristics (pll bypassed or enabled) (1) (2) no. parameter min typ max unit c1 t c(xco) cycle time, xclkout 10 ns c3 t f(xco) fall time, xclkout 2 ns c4 t r(xco) rise time, xclkout 2 ns c5 t w(xcol) pulse duration, xclkout low h ? 2 h + 2 ns c6 t w(xcoh) pulse duration, xclkout high h ? 2 h + 2 ns t p pll lock time 131072t c(oscclk) (3) cycles (1) a load of 40 pf is assumed for these parameters. (2) h = 0.5t c(xco) (3) oscclk is either the output of the on-chip oscillator or the output from an external oscillator. 80 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 a. the relationship of xclkin to xclkout depends on the divide factor chosen. the waveform relationship shown is intended to illustrate the timing parameters only and may differ based on actual configuration. b. xclkout configured to reflect sysclkout. figure 6-3. clock timing 6.8 power sequencing no requirements are placed on the power up/down sequence of the various power pins to ensure the correct reset state for all the modules. however, if the 3.3-v transistors in the level shifting output buffers of the i/o pins are powered prior to the 1.8-v transistors, it is possible for the output buffers to turn on, causing a glitch to occur on the pin during power up. to avoid this behavior, power the v dd pins prior to or simultaneously with the v ddio pins, ensuring that the v dd pins have reached 0.7 v before the v ddio pins reach 0.7 v. there are some requirements on the xrs pin: 1. during power up, the xrs pin must be held low for t w(rsl1) after the input clock is stable (see table 6-9 ). this is to enable the entire device to start from a known condition. 2. during power down, the xrs pin must be pulled low at least 8 m s prior to v dd reaching 1.5 v. this is to enhance flash reliability. additionally it is recommended that no voltage larger than a diode drop (0.7 v) should be applied to any pin prior to powering up the device. voltages applied to pins on an unpowered device can bias internal p-n junctions in unintended ways and produce unpredictable results. 6.8.1 power management and supervisory circuit solutions table 6-8 lists the power management and supervisory circuit solutions for f28044 dsp. ldo selection depends on the total power consumed in the end application. go to www.power.ti.com for a complete list of ti power ics or select the reference designs link for specific power reference designs. table 6-8. power management and supervisory circuit solutions supplier type part description texas instruments ldo tps767d301 dual 1-a low-dropout regulator (ldo) with supply voltage supervisor (svs) texas instruments ldo tps70202 dual 500/250-ma ldo with svs texas instruments ldo tps766xx 250-ma ldo with pg texas instruments svs tps3808 open drain svs with programmable delay texas instruments svs tps3803 low-cost open-drain svs with 5- m s delay texas instruments ldo tps799xx 200-ma ldo in wcsp package texas instruments ldo tps736xx 400-ma ldo with 40 mv of v do texas instruments dc/dc tps62110 high v in 1.2-a dc/dc converter in 4 x 4 qfn package texas instruments dc/dc tps6230x 500-ma converter in wcsp package copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 81 submit documentation feedback product folder link(s): tms320f28044 c4 c3 xclkout (b) xclkin (a) c5 c9 c10 c1 c8 c6
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com a. upon power up, sysclkout is oscclk/2. since the xclkoutdiv bits in the xclk register come up with a reset state of 0, sysclkout is further divided by 4 before it appears at xclkout. this explains why xclkout = oscclk/8 during this phase. b. after reset, the boot rom code samples boot mode pins. based on the status of the boot mode pin, the boot code branches to destination memory or boot code function. if boot rom code executes after power-on conditions (in debugger environment), the boot code execution time is based on the current sysclkout speed. the sysclkout will be based on user environment and could be with or without pll enabled. c. see section 6.8 for requirements to ensure a high-impedance state for gpio pins during power-up. figure 6-4. power-on reset 82 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 t w(rsl1) t h(boot-mode) (b) v ddio , v dd3vfl v dda2 , v ddaio (3.3 v) xclkin x1/x2 xrs boot-mode pins v dd , v dd1a18, v dd2a18 (1.8 v) xclkout i/o pins (c) user-code dependent user-code dependent boot-rom execution starts peripheral/gpio functionbased on boot code gpio pins as input oscclk/8 (a) gpio pins as input (state depends on internal pu/pd) t oscst user-code dependent address/data/ control (internal) address/data v alid. internal boot-rom code execution phase user-code execution phase t d(ex)
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 6-9. reset ( xrs) timing requirements min nom max unit t w(rsl1) (1) pulse duration, stable xclkin to xrs high 8t c(oscclk) cycles t w(rsl2) pulse duration, xrs low warm reset 8t c(oscclk) cycles pulse duration, reset pulse generated by t w(wdrs) 512t c(oscclk) cycles watchdog t d(ex) delay time, address/data valid after xrs high 32t c(oscclk) cycles t oscst (2) oscillator start-up time 1 10 ms t h(boot-mode) hold time for boot-mode pins 200t c(oscclk) cycles (1) in addition to the t w(rsl1) requirement, xrs has to be low at least for 1 ms after v dd reaches 1.5 v. (2) dependent on crystal/resonator and board design. a. after reset, the boot rom code samples boot mode pins. based on the status of the boot mode pin, the boot code branches to destination memory or boot code function. if boot rom code executes after power-on conditions (in debugger environment), the boot code execution time is based on the current sysclkout speed. the sysclkout will be based on user environment and could be with or without pll enabled. figure 6-5. warm reset copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 83 submit documentation feedback product folder link(s): tms320f28044 t h(boot-mode) (a) t w(rsl2) xclkin x1/x2 xrs boot-mode pins xclkout i/o pins address/data/ control (internal) boot-rom execution starts user-code execution starts user-code dependent user-code execution phase (don't care) user-code dependent user-code execution peripheral/gpio function user-code dependent gpio pins as input (state depends on internal pu/pd) gpio pins as input peripheral/gpio function t d(ex) oscclk * 5 oscclk/8
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com figure 6-6 shows an example for the effect of writing into pllcr register. in the first phase, pllcr = 0x0004 and sysclkout = oscclk x 2. the pllcr is then written with 0x0008. right after the pllcr register is written, the pll lock-up phase begins. during this phase, sysclkout = oscclk/2. after the pll lock-up is complete (which takes 131072 oscclk cycles), sysclkout reflects the new operating frequency, oscclk x 4. figure 6-6. example of effect of writing into pllcr register 6.9 general-purpose input/output (gpio) 6.9.1 gpio - output timing table 6-10. general-purpose output switching characteristics parameter min max unit t r(gpo) rise time, gpio switching low to high all gpios 8 ns t f(gpo) fall time, gpio switching high to low all gpios 8 ns t fgpo toggling frequency, gpo pins 25 mhz figure 6-7. general-purpose output timing 84 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 gpio t r(gpo) t f(gpo) oscclk sysclkout w rite to pllcr oscclk * 2 (current cpu frequency) oscclk/2 (cpu frequency while pll is stabilizing with the desired frequency . this period (pll lock-up t ime, t p ) is 131 072 oscclk cycles long.) oscclk * 4 (changed cpu frequency)
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.9.2 gpio - input timing a. this glitch will be ignored by the input qualifier. the qualprd bit field specifies the qualification sampling period. it can vary from 00 to 0xff. if qualprd = 00, then the sampling period is 1 sysclkout cycle. for any other value " n " , the qualification sampling period in 2n sysclkout cycles (i.e., at every 2n sysclkout cycles, the gpio pin will be sampled). b. the qualification period selected via the gpxctrl register applies to groups of 8 gpio pins. c. the qualification block can take either three or six samples. the gpxqseln register selects which sample mode is used. d. in the example shown, for the qualifier to detect the change, the input should be stable for 10 sysclkout cycles or greater. in other words, the inputs should be stable for (5 x qualprd x 2) sysclkout cycles. this would ensure 5 sampling periods for detection to occur. since external signals are driven asynchronously, an 13-sysclkout-wide pulse ensures reliable recognition. figure 6-8. sampling mode table 6-11. general-purpose input timing requirements min max unit qualprd = 0 1t c(sco) cycles t w(sp) sampling period qualprd 0 2t c(sco) * qualprd cycles t w(iqsw) input qualifier sampling window t w(sp) * [n (1) ? 1] cycles synchronous mode 2t c(sco) cycles t w(gpi) (2) pulse duration, gpio low/high with input qualifier t w(iqsw) + t w(sp) + 1t c(sco) cycles (1) " n " represents the number of qualification samples as defined by gpxqseln register. (2) for t w(gpi) , pulse width is measured from v il to v il for an active low signal and v ih to v ih for an active high signal. copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 85 submit documentation feedback product folder link(s): tms320f28044 gpio signal 1 sampling window output from qualifier 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 sysclkout qualprd = 1 (sysclkout/2) (sysclkout cycle * 2 * qualprd) * 5 (c) ) (a) gpxqseln = 1,0 (6 samples) sampling period determined by gpxctrl[qualprd] (b) (d) t w(sp) t w(iqsw)
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 6.9.2.1 sampling window width for input signals the following section summarizes the sampling window width for input signals for various input qualifier configurations. sampling frequency denotes how often a signal is sampled with respect to sysclkout. sampling frequency = sysclkout/(2 * qualprd), if qualprd 0 sampling frequency = sysclkout, if qualprd = 0 sampling period = sysclkout cycle x 2 x qualprd, if qualprd 0 in the above equations, sysclkout cycle indicates the time period of sysclkout. sampling period = sysclkout cycle, if qualprd = 0 in a given sampling window, either 3 or 6 samples of the input signal are taken to determine the validity of the signal. this is determined by the value written to gpxqseln register. case 1: qualification using 3 samples sampling window width = (sysclkout cycle x 2 x qualprd) x 2, if qualprd 0 sampling window width = (sysclkout cycle) x 2, if qualprd = 0 case 2: qualification using 6 samples sampling window width = (sysclkout cycle x 2 x qualprd) x 5, if qualprd 0 sampling window width = (sysclkout cycle) x 5, if qualprd = 0 figure 6-9. general-purpose input timing note the pulse-width requirement for general-purpose input is applicable for the xint2_adcsoc signal as well. 86 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 gpioxn xclkout t w(gpi)
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.9.2.2 low-power mode wakeup timing table 6-12 shows the timing requirements, table 6-13 shows the switching characteristics, and figure 6-10 shows the timing diagram for idle mode. table 6-12. idle mode timing requirements (1) min nom max unit without input qualifier 2t c(sco) t w(wake-int) pulse duration, external wake-up signal cycles with input qualifier 5t c(sco) + t w(iqsw) (1) for an explanation of the input qualifier parameters, see table 6-11 . table 6-13. idle mode switching characteristics (1) parameter test conditions min typ max unit delay time, external wake signal to program execution resume (2) without input qualifier 20t c(sco) ? wake-up from flash cycles ? flash module in active state with input qualifier 20t c(sco) + t w(iqsw) t d(wake-idle) without input qualifier 1050t c(sco) ? wake-up from flash cycles ? flash module in sleep state with input qualifier 1050t c(sco) + t w(iqsw) without input qualifier 20t c(sco) ? wake-up from saram cycles with input qualifier 20t c(sco) + t w(iqsw) (1) for an explanation of the input qualifier parameters, see table 6-11 . (2) this is the time taken to begin execution of the instruction that immediately follows the idle instruction. execution of an isr (triggered by the wake up) signal involves additional latency. a. wake int can be any enabled interrupt, wdint, xnmi, or xrs. b. from the time the idle instruction is executed to place the device into low-power mode (lpm), wakeup should not be initiated until at least 4 oscclk cycles have elapsed. figure 6-10. idle entry and exit timing copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 87 submit documentation feedback product folder link(s): tms320f28044 w ake int (a)(b) xclkout address/data (internal) t d(wake?idle) t w(wake?int)
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 6-14. standby mode timing requirements test conditions min nom max unit without input qualification 3t c(oscclk) pulse duration, external t w(wake-int) cycles wake-up signal with input qualification (1) (2 + qualstdby) * t c(oscclk) (1) qualstdby is a 6-bit field in the lpmcr0 register. table 6-15. standby mode switching characteristics parameter test conditions min typ max unit delay time, idle instruction t d(idle-xcol) 32t c(sco) 45t c(sco) cycles executed to xclkout low delay time, external wake signal cycles to program execution resume (1) without input qualifier 100t c(sco) ? wake up from flash cycles ? flash module in active with input qualifier 100t c(sco) + t w(wake-int) state t d(wake-stby) without input qualifier 1125t c(sco) ? wake up from flash cycles ? flash module in sleep with input qualifier 1125t c(sco) + t w(wake-int) state without input qualifier 100t c(sco) cycles ? wake up from saram with input qualifier 100t c(sco) + t w(wake-int) (1) this is the time taken to begin execution of the instruction that immediately follows the idle instruction. execution of an isr (triggered by the wake up signal) involves additional latency. 88 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 a. idle instruction is executed to put the device into standby mode. b. the pll block responds to the standby signal. sysclkout is held for approximately 32 cycles (if clkindiv = 0) or 64 cycles (if clkindiv = 1) before being turned off. this delay enables the cpu pipe and any other pending operations to flush properly. c. clock to the peripherals are turned off. however, the pll and watchdog are not shut down. the device is now in standby mode. d. the external wake-up signal is driven active. e. after a latency period, the standby mode is exited. f. normal execution resumes. the device will respond to the interrupt (if enabled). g. the wake-up signal fed to a gpio pin to wake up the device must meet the minimum pulse width requirement. furthermore, this signal must be free of glitches. if a noisy signal is fed to a gpio pin, the wake-up behavior of the device will not be deterministic. h. from the time the idle instruction is executed to place the device into low-power mode (lpm), wakeup should not be initiated until at least 4 oscclk cycles have elapsed. figure 6-11. standby entry and exit timing diagram table 6-16. halt mode timing requirements min nom max unit t w(wake-gpio) pulse duration, gpio wake-up signal t oscst + 2t c(oscclk) (1) cycles t w(wake-xrs) pulse duration, xrs wakeup signal t oscst + 8t c(oscclk) cycles (1) see table 6-9 for an explanation of t oscst . table 6-17. halt mode switching characteristics parameter min typ max unit t d(idle-xcol) delay time, idle instruction executed to xclkout low 32t c(sco) 45t c(sco) cycles t p pll lock-up time 131072t c(oscclk) cycles delay time, pll lock to program execution resume 1125t c(sco) cycles ? wake up from flash t d(wake-halt) ? flash module in sleep state 35t c(sco) cycles ? wake up from saram copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 89 submit documentation feedback product folder link(s): tms320f28044 t w(wake-int) t d(wake-stby) t d(idle?xcol) wake-up signal (g)(h) x1/x2 or x1 or xclkin xclkout standby normal execution standby flushing pipeline (a) (b) (c) (d) (e) (f) device status
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com a. idle instruction is executed to put the device into halt mode. b. the pll block responds to the halt signal. sysclkout is held for approximately 32 cycles (if clkindiv = 0) or 64 cycles (if clkindiv = 1) before the oscillator is turned off and the clkin to the core is stopped. this delay enables the cpu pipe and any other pending operations to flush properly. c. clocks to the peripherals are turned off and the pll is shut down. if a quartz crystal or ceramic resonator is used as the clock source, the internal oscillator is shut down as well. the device is now in halt mode and consumes absolute minimum power. d. when the gpion pin (used to bring the device out of halt) is driven low, the oscillator is turned on and the oscillator wake-up sequence is initiated. the gpio pin should be driven high only after the oscillator has stabilized. this enables the provision of a clean clock signal during the pll lock sequence. since the falling edge of the gpio pin asynchronously begins the wakeup process, care should be taken to maintain a low noise environment prior to entering and during halt mode. e. once the oscillator has stabilized, the pll lock sequence is initiated, which takes 131,072 oscclk (x1/x2 or x1 or xclkin) cycles. note that these 131,072 clock cycles are applicable even when the pll is disabled (i.e., code execution will be delayed by this duration even when the pll is disabled). f. clocks to the core and peripherals are enabled. the halt mode is now exited. the device will respond to the interrupt (if enabled), after a latency. g. normal operation resumes. h. the wake-up signal fed to a gpio pin to wake up the device must meet the minimum pulse width requirement. furthermore, this signal must be free of glitches. if a noisy signal is fed to a gpio pin, the wake-up behavior of the device will not be deterministic. i. from the time the idle instruction is executed to place the device into low-power mode (lpm), wakeup should not be initiated until at least 4 oscclk cycles have elapsed. figure 6-12. halt wake-up using gpion 90 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 t d(idle?xcol) x1/x2 or xclkin xclkout halt halt w ake-up latency flushing pipeline t d(wake?halt) (a) (b) (c) (d) device status (e) (g) (f) pll lock-up t ime normal execution t w(wake-gpio) t p gpion (h)(i) oscillator start-up t ime
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.10 enhanced control peripherals 6.10.1 enhanced pulse width modulator (epwm) timing table 6-18 shows the pwm output timing requirements and table 6-19 , switching characteristics. table 6-18. epwm timing requirements (1) test conditions min max unit t w(sycin) sync input pulse width asynchronous 2t c(sco) cycles synchronous 2t c(sco) cycles with input qualifier 1t c(sco) + t w(iqsw) cycles (1) for an explanation of the input qualifier parameters, see table 6-11 . table 6-19. epwm switching characteristics parameter test conditions min max unit t w(pwm) pulse duration, pwmx output high/low 20 ns t w(syncout) sync output pulse width 8t c(sco) cycles t d(pwm)tza delay time, trip input active to pwm forced high no pin load 25 ns delay time, trip input active to pwm forced low t d(tz-pwm)hz delay time, trip input active to pwm hi-z 20 ns 6.10.2 trip-zone input timing a. tz - tz1, tz2, tz3, tz4, tz5, tz6 b. pwm refers to all the pwm pins in the device. the state of the pwm pins after tz is taken high depends on the pwm recovery software. figure 6-13. pwm hi-z characteristics table 6-20. trip-zone input timing requirements (1) min max unit t w(tz) pulse duration, tzx input low asynchronous 1t c(sco) cycles synchronous 2t c(sco) cycles with input qualifier 1t c(sco) + t w(iqsw) cycles (1) for an explanation of the input qualifier parameters, see table 6-11 . copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 91 submit documentation feedback product folder link(s): tms320f28044 pwm (b) tz xclkout (a) t w(tz) t d(tz-pwm)hz
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 6-21 shows the high-resolution pwm switching characteristics. table 6-21. high resolution pwm characteristics at sysclkout = (60 - 100 mhz) min typ max unit micro edge positioning (mep) step size (1) 150 310 ps (1) maximum mep step size is based on worst-case process, maximum temperature and maximum voltage. mep step size will increase with low voltage and high temperature and decrease with voltage and cold temperature. applications that use the hrpwm feature should use mep scale factor optimizer (sfo) estimation software functions. see the ti software libraries for details of using sfo function in end applications. sfo functions help to estimate the number of mep steps per sysclkout period dynamically while the hrpwm is in operation. table 6-22. external adc start-of-conversion switching characteristics parameter min max unit t w(adcsocal) pulse duration, adcsocao low 32t c(hco ) cycles figure 6-14. adcsocao or adcsocbo timing 6.10.3 external interrupt timing figure 6-15. external interrupt timing table 6-23. external interrupt timing requirements (1) test conditions min max unit t w(int) (2) pulse duration, int input low/high synchronous 1t c(sco) cycles with qualifier 1t c(sco) + t w(iqsw) cycles (1) for an explanation of the input qualifier parameters, see table 6-11 . (2) this timing is applicable to any gpio pin configured for adcsoc functionality. table 6-24. external interrupt switching characteristics (1) parameter min max unit t d(int) delay time, int low/high to interrupt-vector fetch t w(iqsw) + 12t c(sco) cycles (1) for an explanation of the input qualifier parameters, see table 6-11 . 92 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 adcsocao or adcsocbo t w(adcsocal) xnmi , xint1, xint2 t w(int) interrupt v ector t d(int) address bus (internal)
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.10.4 i 2 c electrical specification and timing table 6-25. i 2 c timing test conditions min max unit f scl scl clock frequency i 2 c clock module frequency is between 400 khz 7 mhz and 12 mhz and i 2 c prescaler and clock divider registers are configured appropriately v il low level input voltage 0.3 v ddio v v ih high level input voltage 0.7 v ddio v v hys input hysteresis 0.05 v ddio v v ol low level output voltage 3 ma sink current 0 0.4 v t low low period of scl clock i 2 c clock module frequency is between 1.3 m s 7 mhz and 12 mhz and i 2 c prescaler and clock divider registers are configured appropriately t high high period of scl clock i 2 c clock module frequency is between 0.6 m s 7 mhz and 12 mhz and i 2 c prescaler and clock divider registers are configured appropriately l i input current with an input voltage ? 10 10 m a between 0.1 v ddio and 0.9 v ddio max 6.10.5 serial peripheral interface (spi) master mode timing table 6-26 lists the master mode timing (clock phase = 0) and table 6-27 lists the timing (clock phase = 1). figure 6-16 and figure 6-17 show the timing waveforms. copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 93 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 6-26. spi master mode external timing (clock phase = 0) (1) (2) (3) (4) (5) spi when (spibrr + 1) is even spi when (spibrr + 1) is odd or spibrr = 0 or 2 and spibrr > 3 no. unit min max min max 1 t c(spc)m cycle time, spiclk 4t c(lco) 128t c(lco) 5t c(lco) 127t c(lco) ns 2 t w(spch)m pulse duration, spiclk high 0.5t c(spc)m ? 10 0.5t c(spc)m 0.5t c(spc)m ? 0.5t c(lco) ? 10 0.5t c(spc)m ? 0.5t c(lco) ns (clock polarity = 0) t w(spcl)m pulse duration, spiclk low 0.5t c(spc)m ? 10 0.5t c(spc)m 0.5t c(spc)m ? 0.5t c(lco) ? 10 0.5t c(spc)m ? 0.5t c(lco) (clock polarity = 1) 3 t w(spcl)m pulse duration, spiclk low 0.5t c(spc)m ? 10 0.5t c(spc)m 0.5t c(spc)m + 0.5t c(lco) ? 10 0.5t c(spc)m + 0.5t c(lco) ns (clock polarity = 0) t w(spch)m pulse duration, spiclk high 0.5t c(spc)m ? 10 0.5t c(spc)m 0.5t c(spc)m + 0.5t c(lco) ? 10 0.5t c(spc)m + 0.5t c(lco) (clock polarity = 1) 4 t d(spch-simo)m delay time, spiclk high to spisimo 10 10 ns valid (clock polarity = 0) t d(spcl-simo)m delay time, spiclk low to spisimo 10 10 valid (clock polarity = 1) 5 t v(spcl-simo)m valid time, spisimo data valid after 0.5t c(spc)m ? 10 0.5t c(spc)m + 0.5t c(lco) ? 10 ns spiclk low (clock polarity = 0) t v(spch-simo)m valid time, spisimo data valid after 0.5t c(spc)m ? 10 0.5t c(spc)m + 0.5t c(lco) ? 10 spiclk high (clock polarity = 1) 8 t su(somi-spcl)m setup time, spisomi before spiclk 35 35 ns low (clock polarity = 0) t su(somi-spch)m setup time, spisomi before spiclk 35 35 high (clock polarity = 1) 9 t v(spcl-somi)m valid time, spisomi data valid after 0.25t c(spc)m ? 10 0.5t c(spc)m ? 0.5t c(lco) ? 10 ns spiclk low (clock polarity = 0) t v(spch-somi)m valid time, spisomi data valid after 0.25t c(spc)m ? 10 0.5t c(spc)m ? 0.5t c(lco) ? 10 spiclk high (clock polarity = 1) (1) the master / slave bit (spictl.2) is set and the clock phase bit (spictl.3) is cleared. (2) t c(spc) = spi clock cycle time = lspclk/4 or lspclk/(spibrr +1) (3) t c(lco) = lspclk cycle time (4) internal clock prescalers must be adjusted such that the spi clock speed is limited to the following spi clock rate: master mode transmit 25-mhz max, master mode receive 12.5-mhz max slave mode transmit 12.5-max, slave mode receive 12.5-mhz max. (5) the active edge of the spiclk signal referenced is controlled by the clock polarity bit (spiccr.6). 94 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 a. in the master mode, spiste goes active 0.5t c(spc) (minimum) before valid spi clock edge. on the trailing end of the word, the spiste will go inactive 0.5t c(spc) after the receiving edge (spiclk) of the last data bit, except that spiste stays active between back-to-back transmit words in both fifo and non-fifo modes. figure 6-16. spi master mode external timing (clock phase = 0) copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 95 submit documentation feedback product folder link(s): tms320f28044 9 4 spisomi spisimo spiclk (clock polarity = 1) spiclk (clock polarity = 0) master in data must be v alid master out data is v alid 8 5 3 2 1 spiste (a)
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com table 6-27. spi master mode external timing (clock phase = 1) (1) (2) (3) (4) (5) spi when (spibrr + 1) is even spi when (spibrr + 1) is odd or spibrr = 0 or 2 and spibrr > 3 no. unit min max min max 1 t c(spc)m cycle time, spiclk 4t c(lco) 128t c(lco) 5t c(lco) 127t c(lco) ns 2 t w(spch)m pulse duration, spiclk high 0.5t c(spc)m ? 10 0.5t c(spc)m 0.5t c(spc)m ? 0.5t c (lco) ? 10 0.5t c(spc)m ? 0.5t c(lco) ns (clock polarity = 0) t w(spcl))m pulse duration, spiclk low 0.5t c(spc)m ? 10 0.5t c(spc)m 0.5t c(spc)m ? 0.5t c (lco) ? 10 0.5t c(spc)m ? 0.5t c(lco) (clock polarity = 1) 3 t w(spcl)m pulse duration, spiclk low 0.5t c(spc)m ? 10 0.5t c(spc)m 0.5t c(spc)m + 0.5t c(lco) ? 10 0.5t c(spc)m + 0.5t c(lco) ns (clock polarity = 0) t w(spch)m pulse duration, spiclk high 0.5t c(spc)m ? 10 0.5t c(spc)m 0.5t c(spc)m + 0.5t c(lco) ? 10 0.5t c(spc)m + 0.5t c(lco) (clock polarity = 1) 6 t su(simo-spch)m setup time, spisimo data valid 0.5t c(spc)m ? 10 0.5t c(spc)m ? 10 ns before spiclk high (clock polarity = 0) t su(simo-spcl)m setup time, spisimo data valid 0.5t c(spc)m ? 10 0.5t c(spc)m ? 10 before spiclk low (clock polarity = 1) 7 t v(spch-simo)m valid time, spisimo data valid after 0.5t c(spc)m ? 10 0.5t c(spc)m ? 10 ns spiclk high (clock polarity = 0) t v(spcl-simo)m valid time, spisimo data valid after 0.5t c(spc)m ? 10 0.5t c(spc)m ? 10 spiclk low (clock polarity = 1) 10 t su(somi-spch)m setup time, spisomi before 35 35 ns spiclk high (clock polarity = 0) t su(somi-spcl)m setup time, spisomi before 35 35 spiclk low (clock polarity = 1) 11 t v(spch-somi)m valid time, spisomi data valid after 0.25t c(spc)m ? 10 0.5t c(spc)m ? 10 ns spiclk high (clock polarity = 0) t v(spcl-somi)m valid time, spisomi data valid after 0.25t c(spc)m ? 10 0.5t c(spc)m ? 10 spiclk low (clock polarity = 1) (1) the master/slave bit (spictl.2) is set and the clock phase bit (spictl.3) is set. (2) t c(spc) = spi clock cycle time = lspclk/4 or lspclk/(spibrr + 1) (3) internal clock prescalers must be adjusted such that the spi clock speed is limited to the following spi clock rate: master mode transmit 25 mhz max, master mode receive 12.5 mhz max slave mode transmit 12.5 mhz max, slave mode receive 12.5 mhz max. (4) t c(lco) = lspclk cycle time (5) the active edge of the spiclk signal referenced is controlled by the clock polarity bit (spiccr.6). 96 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 a. in the master mode, spiste goes active 0.5t c(spc) (minimum) before valid spi clock edge. on the trailing end of the word, the spiste will go inactive 0.5t c(spc) after the receiving edge (spiclk) of the last data bit, except that spiste stays active between back-to-back transmit words in both fifo and non-fifo modes. figure 6-17. spi master external timing (clock phase = 1) copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 97 submit documentation feedback product folder link(s): tms320f28044 data v alid 11 spisomi spisimo spiclk (clock polarity = 1) spiclk (clock polarity = 0) master in data must be v alid master out data is v alid 1 7 6 10 3 2 spiste (a)
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 6.10.6 spi slave mode timing table 6-28 lists the slave mode external timing (clock phase = 0) and table 6-29 (clock phase = 1). figure 6-18 and figure 6-19 show the timing waveforms. table 6-28. spi slave mode external timing (clock phase = 0) (1) (2) (3) (4) (5) no. min max unit 12 t c(spc)s cycle time, spiclk cycle time, spiclk 4t c(lco) ns 13 t w(spch)s pulse duration, spiclk high (clock polarity = 0) 0.5t c(spc)s ? 10 0.5t c(spc)s ns t w(spcl)s pulse duration, spiclk low (clock polarity = 1) 0.5t c(spc)s ? 10 0.5t c(spc)s 14 t w(spcl)s pulse duration, spiclk low (clock polarity = 0) 0.5t c(spc)s ? 10 0.5t c(spc)s ns t w(spch)s pulse duration, spiclk high (clock polarity = 1) 0.5t c(spc)s ? 10 0.5t c(spc)s 15 t d(spch-somi)s delay time, spiclk high to spisomi valid (clock polarity = 0) 35 ns t d(spcl-somi)s delay time, spiclk low to spisomi valid (clock polarity = 1) 35 16 t v(spcl-somi)s valid time, spisomi data valid after spiclk low (clock polarity = 0) 0.75t c(spc)s ns t v(spch-somi)s valid time, spisomi data valid after spiclk high (clock polarity = 1) 0.75t c(spc)s 19 t su(simo-spcl)s setup time, spisimo before spiclk low (clock polarity = 0) 35 ns t su(simo-spch)s setup time, spisimo before spiclk high (clock polarity = 1) 35 20 t v(spcl-simo)s valid time, spisimo data valid after spiclk low (clock polarity = 0) 0.5t c(spc)s ? 10 ns t v(spch-simo)s valid time, spisimo data valid after spiclk high (clock polarity = 1) 0.5t c(spc)s ? 10 (1) the master / slave bit (spictl.2) is cleared and the clock phase bit (spictl.3) is cleared. (2) t c(spc) = spi clock cycle time = lspclk/4 or lspclk/(spibrr + 1) (3) internal clock prescalers must be adjusted such that the spi clock speed is limited to the following spi clock rate: master mode transmit 25-mhz max, master mode receive 12.5-mhz max slave mode transmit 12.5-mhz max, slave mode receive 12.5-mhz max. (4) t c(lco) = lspclk cycle time (5) the active edge of the spiclk signal referenced is controlled by the clock polarity bit (spiccr.6). a. in the slave mode, the spiste signal should be asserted low at least 0.5t c(spc) (minimum) before the valid spi clock edge and remain low for at least 0.5t c(spc) after the receiving edge (spiclk) of the last data bit. figure 6-18. spi slave mode external timing (clock phase = 0) 98 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 20 15 spisimo spisomi spiclk (clock polarity = 1) spiclk (clock polarity = 0) spisimo data must be v alid spisomi data is v alid 19 16 14 13 12 spiste (a)
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 6-29. spi slave mode external timing (clock phase = 1) (1) (2) (3) (4) no. min max unit 12 t c(spc)s cycle time, spiclk 8t c(lco) ns 13 t w(spch)s pulse duration, spiclk high (clock polarity = 0) 0.5t c(spc)s ? 10 0.5t c(spc)s ns t w(spcl)s pulse duration, spiclk low (clock polarity = 1) 0.5t c(spc)s ? 10 0.5t c(spc)s 14 t w(spcl)s pulse duration, spiclk low (clock polarity = 0) 0.5t c(spc)s ? 10 0.5t c(spc)s ns t w(spch)s pulse duration, spiclk high (clock polarity = 1) 0.5t c(spc)s ? 10 0.5t c(spc)s 17 t su(somi-spch)s setup time, spisomi before spiclk high (clock polarity = 0) 0.125t c(spc)s ns t su(somi-spcl)s setup time, spisomi before spiclk low (clock polarity = 1) 0.125t c(spc)s 18 t v(spcl-somi)s valid time, spisomi data valid after spiclk low 0.75t c(spc)s ns (clock polarity = 1) t v(spch-somi)s valid time, spisomi data valid after spiclk high 0.75t c(spc)s (clock polarity = 0) 21 t su(simo-spch)s setup time, spisimo before spiclk high (clock polarity = 0) 35 ns t su(simo-spcl)s setup time, spisimo before spiclk low (clock polarity = 1) 35 22 t v(spch-simo)s valid time, spisimo data valid after spiclk high 0.5t c(spc)s ? 10 ns (clock polarity = 0) t v(spcl-simo)s valid time, spisimo data valid after spiclk low 0.5t c(spc)s ? 10 (clock polarity = 1) (1) the master / slave bit (spictl.2) is cleared and the clock phase bit (spictl.3) is cleared. (2) t c(spc) = spi clock cycle time = lspclk/4 or lspclk/(spibrr + 1) (3) internal clock prescalers must be adjusted such that the spi clock speed is limited to the following spi clock rate: master mode transmit 25-mhz max, master mode receive 12.5-mhz max slave mode transmit 12.5-mhz max, slave mode receive 12.5-mhz max. (4) the active edge of the spiclk signal referenced is controlled by the clock polarity bit (spiccr.6). a. in the slave mode, the spiste signal should be asserted low at least 0.5t c(spc) before the valid spi clock edge and remain low for at least 0.5t c(spc) after the receiving edge (spiclk) of the last data bit. figure 6-19. spi slave mode external timing (clock phase = 1) copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 99 submit documentation feedback product folder link(s): tms320f28044 data v alid 22 spisimo spisomi spiclk (clock polarity = 1) spiclk (clock polarity = 0) spisimo data must be v alid spisomi data is v alid 21 12 18 17 14 13 spiste (a)
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 6.11 on-chip analog-to-digital converter table 6-30. adc electrical characteristics (over recommended operating conditions) (1) (2) parameter min typ max unit dc specifications resolution 12 bits adc clock 1 khz 25 mhz accuracy inl (integral nonlinearity) 1 ? 25 mhz adc clock (12.5 msps) 2.0 lsb dnl (differential nonlinearity) (3) 1 ? 25 mhz adc clock (12.5 msps) 1 lsb offset error (4) ? 60 60 lsb offset error with hardware trimming 4 lsb overall gain error with internal reference (5) ? 60 60 lsb overall gain error with external reference ? 60 60 lsb channel-to-channel offset variation 4 lsb channel-to-channel gain variation 4 lsb analog input analog input voltage (adcinx to adclo) (6) 0 3 v adclo ? 5 0 5 mv input capacitance 10 pf input leakage current 5 m a internal voltage reference (5) v adcrefp - adcrefp output voltage at the pin based on 1.275 v internal reference v adcrefm - adcrefm output voltage at the pin based on 0.525 v internal reference voltage difference, adcrefp - adcrefm 0.75 v temperature coefficient 50 ppm/ c external voltage reference (5) (7) adcrefsel[15:14] = 11b 1.024 v v adcrefin - external reference voltage input on adcrefin adcrefsel[15:14] = 10b 1.500 v pin 0.2% or better accurate reference recommended adcrefsel[15:14] = 01b 2.048 v ac specifications sinad (100 khz) signal-to-noise ratio + distortion 67.5 db snr (100 khz) signal-to-noise ratio 68 db thd (100 khz) total harmonic distortion ? 79 db enob (100 khz) effective number of bits 10.9 bits sfdr (100 khz) spurious free dynamic range 83 db (1) tested at 25-mhz adcclk. (2) all voltages listed in this table are with respect to v ssa2 . (3) ti specifies that the adc will have no missing codes. (4) 1 lsb has the weighted value of 3.0/4096 = 0.732 mv. (5) a single internal/external band gap reference sources both adcrefp and adcrefm signals, and hence, these voltages track together. the adc converter uses the difference between these two as its reference. the total gain error listed for the internal reference is inclusive of the movement of the internal bandgap over temperature. gain error over temperature for the external reference option will depend on the temperature profile of the source used. (6) voltages above v dda + 0.3 v or below v ss ? 0.3 v applied to an analog input pin may temporarily affect the conversion of another pin. to avoid this, the analog inputs should be kept within these limits. (7) ti recommends using high precision external reference ti part ref3020/3120 or equivalent for 2.048-v reference. 100 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.11.1 adc power-up control bit timing figure 6-20. adc power-up control bit timing table 6-31. adc power-up delays parameter (1) min typ max unit t d(bgr) delay time for band gap reference to be stable. bits 7 and 6 of the adctrl3 5 ms register (adcbgrfdn1/0) must be set to 1 before the pwdnadc bit is enabled. t d(pwd) delay time for power-down control to be stable. bit delay time for band-gap 20 50 m s reference to be stable. bits 7 and 6 of the adctrl3 register (adcbgrfdn1/0) 1 ms must be set to 1 before the pwdnadc bit is enabled. bit 5 of the adctrl3 register (pwdnadc)must be set to 1 before any adc conversions are initiated. (1) timings maintain compatibility to the 281x adc module. the f28044 adc also supports driving all 3 bits at the same time and waiting t d(bgr) ms before first conversion. table 6-32. current consumption for different adc configurations (at 25-mhz adcclk) (1) (2) adc operating mode conditions v dda18 v dda3.3 unit mode a (operational mode): 30 2 ma ? bg and ref enabled ? pwd disabled mode b: 9 0.5 ma ? adc clock enabled ? bg and ref enabled ? pwd enabled mode c: 5 20 m a ? adc clock enabled ? bg and ref disabled ? pwd enabled mode d: 5 15 m a ? adc clock disabled ? bg and ref disabled ? pwd enabled (1) test conditions: sysclkout = 100 mhz adc module clock = 25 mhz adc performing a continuous conversion of all 16 channels in mode a (2) v dda18 includes current into v dd1a18 and v dd2a18 . v dda3.3 includes current into v dda2 and v ddaio . copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 101 submit documentation feedback product folder link(s): tms320f28044 adc power up delay adc ready for conversions pwdnbg pwdnref pwdnadc request for adc conversion t d(bgr) t d(pwd)
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com figure 6-21. adc analog input impedance model 6.11.2 definitions reference voltage the on-chip adc has a built-in reference, which provides the reference voltages for the adc. analog inputs the on-chip adc consists of 16 analog inputs, which are sampled either one at a time or two channels at a time. these inputs are software-selectable. converter the on-chip adc uses a 12-bit four-stage pipeline architecture, which achieves a high sample rate with low power consumption. conversion modes the conversion can be performed in two different conversion modes: ? sequential sampling mode (smode = 0) ? simultaneous sampling mode (smode = 1) 102 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 ac r s adcin0 c p 10 pf r on 1 k w 1.64 pf c h switch t ypical v alues of the input circuit components: switch resistance (r on ): 1 k w sampling capacitor (c h ): 1.64 pf parasitic capacitance (c p ): 10 pf source resistance (r s ): 50 w 28x dsp source signal
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.11.3 sequential sampling mode (single-channel) (smode = 0) in sequential sampling mode, the adc can continuously convert input signals on any of the channels (ax to bx). the adc can start conversions on event triggers from the epwm, software trigger, or from an external adcsoc signal. if the smode bit is 0, the adc will do conversions on the selected channel on every sample/hold pulse. the conversion time and latency of the result register update are explained below. the adc interrupt flags are set a few sysclkout cycles after the result register update. the selected channels will be sampled at every falling edge of the sample/hold pulse. the sample/hold pulse width can be programmed to be 1 adc clock wide (minimum) or 16 adc clocks wide (maximum). figure 6-22. sequential sampling mode (single-channel) timing table 6-33. sequential sampling mode timing at 25-mhz sample n sample n + 1 adc clock, remarks t c(adcclk) = 40 ns t d(sh) delay time from event trigger to 2.5t c(adcclk) sampling t sh sample/hold width/acquisition (1 + acqps) * 40 ns with acqps = 0 acqps value = 0 ? 15 width t c(adcclk) adctrl1[8:11] t d(schx_n) delay time for first result to appear 4t c(adcclk) 160 ns in result register t d(schx_n+1) delay time for successive results to (2 + acqps) * 80 ns appear in result register t c(adcclk) copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 103 submit documentation feedback product folder link(s): tms320f28044 analog input on channel ax or bx adc clock sample and hold sh pulse smode bit t dschx_n t dschx_n+1 sample n sample n+1 sample n+2 t sh adc event t rigger from epwm or other sources t d(sh)
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 6.11.4 simultaneous sampling mode (dual-channel) (smode = 1) in simultaneous mode, the adc can continuously convert input signals on any one pair of channels (a0/b0 to a7/b7). the adc can start conversions on event triggers from the epwm, software trigger, or from an external adcsoc signal. if the smode bit is 1, the adc will do conversions on two selected channels on every sample/hold pulse. the conversion time and latency of the result register update are explained below. the adc interrupt flags are set a few sysclkout cycles after the result register update. the selected channels will be sampled simultaneously at the falling edge of the sample/hold pulse. the sample/hold pulse width can be programmed to be 1 adc clock wide (minimum) or 16 adc clocks wide (maximum). note in simultaneous mode, the adcin channel pair select has to be a0/b0, a1/b1, ..., a7/b7, and not in other combinations (such as a1/b3, etc.). figure 6-23. simultaneous sampling mode timing table 6-34. simultaneous sampling mode timing at 25-mhz sample n sample n + 1 adc clock, remarks t c(adcclk) = 40 ns t d(sh) delay time from event trigger to 2.5t c(adcclk) sampling t sh sample/hold width/acquisition (1 + acqps) * 40 ns with acqps = 0 acqps value = 0 ? 15 width t c(adcclk) adctrl1[8:11] t d(scha0_n) delay time for first result to 4t c(adcclk) 160 ns appear in result register t d(schb0_n) delay time for first result to 5t c(adcclk) 200 ns appear in result register t d(scha0_n+1) delay time for successive results (3 + acqps) * t c(adcclk) 120 ns to appear in result register t d(schb0_n+1) delay time for successive results (3 + acqps) * t c(adcclk) 120 ns to appear in result register 104 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044 analog input on channel ax analog input on channel bx adc clock sample and hold sh pulse t sh t dscha0_n t dschb0_n t dschb0_n+1 sample n sample n+1 sample n+2 t dscha0_n+1 t d(sh) adc event t rigger from epwm or other sources smode bit
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 6.12 detailed descriptions integral nonlinearity integral nonlinearity refers to the deviation of each individual code from a line drawn from zero through full scale. the point used as zero occurs one-half lsb before the first code transition. the full-scale point is defined as level one-half lsb beyond the last code transition. the deviation is measured from the center of each particular code to the true straight line between these two points. differential nonlinearity an ideal adc exhibits code transitions that are exactly 1 lsb apart. dnl is the deviation from this ideal value. a differential nonlinearity error of less than 1 lsb ensures no missing codes. zero offset the major carry transition should occur when the analog input is at zero volts. zero error is defined as the deviation of the actual transition from that point. gain error the first code transition should occur at an analog value one-half lsb above negative full scale. the last transition should occur at an analog value one and one-half lsb below the nominal full scale. gain error is the deviation of the actual difference between first and last code transitions and the ideal difference between first and last code transitions. signal-to-noise ratio + distortion (sinad) sinad is the ratio of the rms value of the measured input signal to the rms sum of all other spectral components below the nyquist frequency, including harmonics but excluding dc. the value for sinad is expressed in decibels. effective number of bits (enob) for a sine wave, sinad can be expressed in terms of the number of bits. using the following formula, it is possible to get a measure of performance expressed as n, the effective number of bits. thus, effective number of bits for a device for sine wave inputs at a given input frequency can be calculated directly from its measured sinad. total harmonic distortion (thd) thd is the ratio of the rms sum of the first nine harmonic components to the rms value of the measured input signal and is expressed as a percentage or in decibels. spurious free dynamic range (sfdr) sfdr is the difference in db between the rms amplitude of the input signal and the peak spurious signal. copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 105 submit documentation feedback product folder link(s): tms320f28044 n  ( sinad  1.76 ) 6.02
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 6.13 flash timing table 6-35. flash endurance for a temperature material erase/program min typ max unit temperature n f flash endurance for the array (write/erase cycles) 0 c to 85 c (ambient) 20000 50000 cycles n otp otp endurance for the array (write cycles) 0 c to 85 c (ambient) 1 write table 6-36. flash parameters at 100-mhz sysclkout parameter (1) test conditions min typ max unit program 16-bit word 50 m s time 16k sector 500 ms erase time 16k sector 10 s i dd3vflp v dd3vfl current consumption during the erase 75 ma erase/program cycle program 35 ma i ddp v dd current consumption during erase/program 140 ma cycle i ddiop v ddio current consumption during erase/program 20 ma cycle (1) typical parameters as seen at room temperature including function call overhead, with all peripherals off. table 6-37. flash/otp access timing parameter min typ max unit t a(fp) paged flash access time 36 ns t a(fr) random flash access time 36 ns t a(otp) otp access time 60 ns equations to compute the flash page wait-state and random wait-state in table 6-38 are as follows: equation to compute the otp wait-state in table 6-38 is as follows: 106 electrical specifications copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044    t a(fp) t c(sco)   1  (round up to the next highest integer) or 0, whichever is larger    t a(fr) t c(sco)   1  (round up to the next highest integer) or 1, whichever is larger flash page wait-state flash random wait-state (round up to the next highest integer) or 1, whichever is larger    t a(otp) t c(sco)   1  otp w ait-state
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 table 6-38. minimum required flash/otp wait-states at different frequencies sysclkout sysclkout flash page flash random otp (mhz) (ns) wait-state wait-state (1) wait-state 100 10 3 3 5 75 13.33 2 2 4 50 20 1 1 2 30 33.33 1 1 1 25 40 0 1 1 15 66.67 0 1 1 4 250 0 1 1 (1) random wait-state must be greater than or equal to 1. copyright ? 2006 ? 2010, texas instruments incorporated electrical specifications 107 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 7 revision history this data sheet revision history highlights the technical changes made to the sprs357b device-specific data sheet to make it an sprs357c revision. scope: changed min n f value [flash endurance for the array (write/erase cycles)] from 100 cycles to 20000 cycles. see table 6-35 . changed typ n f value [flash endurance for the array (write/erase cycles)] from 1000 cycles to 50000 cycles. see table 6-35 . see table below. location additions, deletions, and modifications hardware features: table 2-1 ? added type column signal descriptions: ? trst: changed "in a low-noise environment, trst may be left floating. in other instances, an external table 2-2 pulldown resistor is highly recommended" to "an external pulldown resistor is required on this pin" ? xrs: removed "(100 a, typical)" from "the output buffer of this pin is an open-drain with an internal pullup (100 a, typical) " functional block diagram: figure 3-1 ? removed footnote about otp f28044 memory map: figure 3-2 ? updated region from 0x00 0000 to 0x00 0400 wait-states: table 3-2 ? peripheral frame 1: updated comments section 3.2.18 updated "32-bit cpu-timers (0, 1, 2)" section external and pie interrupt sources: figure 3-3 ? updated "cpu timer 2" block and "cpu timer 1" block interrupts: section 3.5 ? added "the trap #vectornumber instruction transfers program control ..." paragraph ? added "when the pie is enabled ..." paragraph 32-bit cpu-timers 0/1/2: section 4.1 ? updated paragraph about the function of each cpu-timer cpu-timer interrupt signals and output signal: figure 4-2 ? updated cpu-timer 1 block ? removed footnote about timer1 and int13 epwm sub-modules showing critical internal signal interconnections: figure 4-4 ? changed tbctl[cntlde] to tbctl[phsen] ? resized "hires pwm (hrpwm)" dashed box adc pin connections with internal reference: figure 4-6 ? adcrefin: changed "float or ground if internal reference is used" to "float or connect to analog ground if internal reference is used" adc registers: table 4-6 ? 0x711e ? 0x711f: changed description from "adc status register" to "reserved" inter-integrated circuit (i2c): ? changed "data transfer rate from 10 kbps up to 400 kbps ( philips fast-mode rate)" feature to "data transfer section 4.7 rate from 10 kbps up to 400 kbps (i2c fast-mode rate)" ? changed 16-bit to 16-word on the fifo information section 5.2 updated "documentation support" section 108 revision history copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
tms320f28044 www.ti.com sprs357c ? august 2006 ? revised january 2010 location additions, deletions, and modifications section 6.2 recommended operating conditions: ? high-level input voltage, v ih : ? updated max value for "all inputs except x1" ? added min and max values for x1 ? low-level input voltage, v il : ? added min value for "all inputs except x1" ? added max value for x1 table 6-1 tms320f28044 current consumption by power-supply pins at 100-mhz sysclkout: ? added footnote about i dd3vfl ? added footnote about max numbers table 6-2 typical current consumption by various peripherals (at 100 mhz): ? added footnote about peripherals with multiple instances section 6.5 updated "emulator connection without signal buffering for the dsp" section section 6.8.1 power management and supervisory circuit solutions: ? updated " table 6-8 lists the power management and supervisory circuit solutions for f28044 dsp ..." paragraph figure 6-10 idle entry and exit timing: ? added footnote about idle instruction and oscclk cycles figure 6-11 standby entry and exit timing diagram: ? updated "the pll block responds to the standby signal ..." footnote ? added footnote about wake-up signal fed to a gpio pin ? added footnote about idle instruction and oscclk cycles figure 6-12 halt wake-up using gpion: ? updated footnotes ? added footnote about wake-up signal fed to a gpio pin ? added footnote about idle instruction and oscclk cycles table 6-29 spi slave mode external timing (clock phase = 1): ? parameter 18 (valid time, spisomi data valid after spiclk low ): changed "(clock polarity = 0)" to "(clock polarity = 1)" ? parameter 18 (valid time, spisomi data valid after spiclk high ): changed "(clock polarity = 1)" to "(clock polarity = 0)" table 6-35 changed title from "flash endurance" to "flash endurance for a temperature material" table 6-35 flash endurance for a temperature material: ? added "erase/program temperature" column heading ? n f [flash endurance for the array (write/erase cycles)]: ? changed min value from 100 cycles to 20000 cycles ? changed typ value from 1000 cycles to 50000 cycles table 6-36 flash parameters at 100-mhz sysclkout: ? updated footnote copyright ? 2006 ? 2010, texas instruments incorporated revision history 109 submit documentation feedback product folder link(s): tms320f28044
tms320f28044 sprs357c ? august 2006 ? revised january 2010 www.ti.com 8 mechanical data table 8-1 and table 8-2 show the thermal data. table 8-1. f28044 thermal model 100-pin ggm results air flow parameter 0 lfm 150 lfm 250 lfm 500 lfm q ja [ c/w] high k pcb 28.15 26.89 25.68 24.22 jt [ c/w] 0.38 0.35 0.33 0.44 q jc 10.36 q jb 13.3 table 8-2. f28044 thermal model 100-pin pz results air flow parameter 0 lfm 150 lfm 250 lfm 500 lfm q ja [ c/w] high k pcb 44.02 28.34 36.28 33.68 jt [ c/w] 0.2 0.56 0.7 0.95 q jc 7.06 q jb 28.76 the following packaging information reflects the most current released data available for the designated device(s). this data is subject to change without notice and without revision of this document. 110 mechanical data copyright ? 2006 ? 2010, texas instruments incorporated submit documentation feedback product folder link(s): tms320f28044
packaging information orderable device status (1) package type package drawing pins package qty eco plan (2) lead/ball finish msl peak temp (3) tms320f28044pza active lqfp pz 100 90 green (rohs & no sb/br) cu nipdau level-2-260c-1 year TMS320F28044PZS active lqfp pz 100 90 green (rohs & no sb/br) cu nipdau level-2-260c-1 year (1) the marketing status values are defined as follows: active: product device recommended for new designs. lifebuy: ti has announced that the device will be discontinued, and a lifetime-buy period is in effect. nrnd: not recommended for new designs. device is in production to support existing customers, but ti does not recommend using this part in a new design. preview: device has been announced but is not in production. samples may or may not be available. obsolete: ti has discontinued the production of the device. (2) eco plan - the planned eco-friendly classification: pb-free (rohs), pb-free (rohs exempt), or green (rohs & no sb/br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. tbd: the pb-free/green conversion plan has not been defined. pb-free (rohs): ti's terms "lead-free" or "pb-free" mean semiconductor products that are compatible with the current rohs requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. where designed to be soldered at high temperatures, ti pb-free products are suitable for use in specified lead-free processes. pb-free (rohs exempt): this component has a rohs exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. the component is otherwise considered pb-free (rohs compatible) as defined above. green (rohs & no sb/br): ti defines "green" to mean pb-free (rohs compatible), and free of bromine (br) and antimony (sb) based flame retardants (br or sb do not exceed 0.1% by weight in homogeneous material) (3) msl, peak temp. -- the moisture sensitivity level rating according to the jedec industry standard classifications, and peak solder temperature. important information and disclaimer: the information provided on this page represents ti's knowledge and belief as of the date that it is provided. ti bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. efforts are underway to better integrate information from third parties. ti has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. ti and ti suppliers consider certain information to be proprietary, and thus cas numbers and other limited information may not be available for release. in no event shall ti's liability arising out of such information exceed the total purchase price of the ti part(s) at issue in this document sold by ti to customer on an annual basis. package option addendum www.ti.com 15-dec-2009 addendum-page 1
mechanical data mpbg028b february 1997 ? revised may 2002 1 post office box 655303 ? dallas, texas 75265 ggm (s?pbga?n100) plastic ball grid array 0,08 0,10 1,40 max 0,85 0,55 0,45 0,45 0,35 0,95 4 c b a d e 2 13 k f g h j 57 6 9 810 seating plane sq 9,90 10,10 7,20 typ 0,40 0,40 a1 corner bottom view 4145257?3/c 12/01 0,80 0,80 notes: a. all linear dimensions are in millimeters. b. this drawing is subject to change without notice c. microstar bga configuration.

mechanical data mtqf013a october 1994 revised december 1996 1 post office box 655303 ? dallas, texas 75265 pz (s-pqfp-g100) plastic quad flatpack 4040149 /b 11/96 50 26 0,13 nom gage plane 0,25 0,45 0,75 0,05 min 0,27 51 25 75 1 12,00 typ 0,17 76 100 sq sq 15,80 16,20 13,80 1,35 1,45 1,60 max 14,20 0 7 seating plane 0,08 0,50 m 0,08 notes: a. all linear dimensions are in millimeters. b. this drawing is subject to change without notice. c. falls within jedec ms-026
important notice texas instruments incorporated and its subsidiaries (ti) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. all products are sold subject to ti?s terms and conditions of sale supplied at the time of order acknowledgment. ti warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with ti?s standard warranty. testing and other quality control techniques are used to the extent ti deems necessary to support this warranty. except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. ti assumes no liability for applications assistance or customer product design. customers are responsible for their products and applications using ti components. to minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. ti does not warrant or represent that any license, either express or implied, is granted under any ti patent right, copyright, mask work right, or other ti intellectual property right relating to any combination, machine, or process in which ti products or services are used. information published by ti regarding third-party products or services does not constitute a license from ti to use such products or services or a warranty or endorsement thereof. use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from ti under the patents or other intellectual property of ti. reproduction of ti information in ti data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. reproduction of this information with alteration is an unfair and deceptive business practice. ti is not responsible or liable for such altered documentation. information of third parties may be subject to additional restrictions. resale of ti products or services with statements different from or beyond the parameters stated by ti for that product or service voids all express and any implied warranties for the associated ti product or service and is an unfair and deceptive business practice. ti is not responsible or liable for any such statements. ti products are not authorized for use in safety-critical applications (such as life support) where a failure of the ti product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of ti products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by ti. further, buyers must fully indemnify ti and its representatives against any damages arising out of the use of ti products in such safety-critical applications. ti products are neither designed nor intended for use in military/aerospace applications or environments unless the ti products are specifically designated by ti as military-grade or "enhanced plastic." only products designated by ti as military-grade meet military specifications. buyers acknowledge and agree that any such use of ti products which ti has not designated as military-grade is solely at the buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. ti products are neither designed nor intended for use in automotive applications or environments unless the specific ti products are designated by ti as compliant with iso/ts 16949 requirements. buyers acknowledge and agree that, if they use any non-designated products in automotive applications, ti will not be responsible for any failure to meet such requirements. following are urls where you can obtain information on other texas instruments products and application solutions: products applications amplifiers amplifier.ti.com audio www.ti.com/audio data converters dataconverter.ti.com automotive www.ti.com/automotive dlp? products www.dlp.com communications and www.ti.com/communications telecom dsp dsp.ti.com computers and www.ti.com/computers peripherals clocks and timers www.ti.com/clocks consumer electronics www.ti.com/consumer-apps interface interface.ti.com energy www.ti.com/energy logic logic.ti.com industrial www.ti.com/industrial power mgmt power.ti.com medical www.ti.com/medical microcontrollers microcontroller.ti.com security www.ti.com/security rfid www.ti-rfid.com space, avionics & www.ti.com/space-avionics-defense defense rf/if and zigbee? solutions www.ti.com/lprf video and imaging www.ti.com/video wireless www.ti.com/wireless-apps mailing address: texas instruments, post office box 655303, dallas, texas 75265 copyright ? 2010, texas instruments incorporated


▲Up To Search▲   

 
Price & Availability of TMS320F28044PZS

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X